Skip to content

Commit 78f888d

Browse files
authored
chore(deps): pin eslint tooling and freeze it in renovate (apify#3746)
Renovate's `lock-file-maintenance` runs (e.g. apify#3245) re-resolve `@apify/eslint-config` within its `^2.0.0` range up to `2.0.6`, which pulls in a stricter `eslint-plugin-import-x` ruleset (`import-x/extensions`, `import-x/no-extraneous-dependencies`) and breaks the **Lint** job with 600+ errors. Since oxlint is landing in v4 shortly, this freezes the eslint toolchain rather than chasing the config: - Pin all eslint-related devDeps (root + `website`) to their currently resolved versions and regenerate both lockfiles. - Add a Renovate `packageRule` disabling updates for any `/eslint/` package. `yarn lint` passes locally.
1 parent c451c13 commit 78f888d

5 files changed

Lines changed: 47 additions & 42 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@
5555
"prepare": "husky"
5656
},
5757
"devDependencies": {
58-
"@apify/eslint-config": "^2.0.0",
58+
"@apify/eslint-config": "2.0.0",
5959
"@apify/log": "^2.4.0",
6060
"@apify/tsconfig": "^0.1.0",
6161
"@biomejs/biome": "^2.3.11",
6262
"@commitlint/config-conventional": "^21.0.0",
6363
"@playwright/browser-chromium": "1.61.0",
6464
"@playwright/browser-firefox": "1.61.0",
6565
"@playwright/browser-webkit": "1.61.0",
66-
"@stylistic/eslint-plugin": "^5.0.0",
66+
"@stylistic/eslint-plugin": "5.7.1",
6767
"@types/content-type": "^1.1.5",
6868
"@types/deep-equal": "^1.0.1",
6969
"@types/domhandler": "^2.4.2",
@@ -91,8 +91,8 @@
9191
"commitlint": "^21.0.0",
9292
"cross-env": "^10.0.0",
9393
"deep-equal": "^2.0.5",
94-
"eslint": "^9.23.0",
95-
"eslint-config-prettier": "^10.1.1",
94+
"eslint": "9.39.1",
95+
"eslint-config-prettier": "10.1.8",
9696
"express": "^4.18.1",
9797
"fs-extra": "^11.0.0",
9898
"gen-esm-wrapper": "^1.1.3",
@@ -112,7 +112,7 @@
112112
"tsx": "^4.4.0",
113113
"turbo": "^2.1.0",
114114
"typescript": "^6.0.0",
115-
"typescript-eslint": "^8.28.0",
115+
"typescript-eslint": "8.46.4",
116116
"vitest": "^4.0.16"
117117
},
118118
"lint-staged": {

renovate.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
"npm": "^8.0.0"
1515
},
1616
"packageRules": [
17+
{
18+
"description": "Freeze eslint tooling until oxlint lands in v4",
19+
"matchPackageNames": ["/eslint/"],
20+
"enabled": false
21+
},
1722
{
1823
"matchUpdateTypes": ["patch", "minor"],
1924
"matchCurrentVersion": "!/^0/",

website/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
"postbuild": "node ./tools/joinLlmsFiles.mjs"
1717
},
1818
"devDependencies": {
19-
"@apify/eslint-config-ts": "^0.4.0",
19+
"@apify/eslint-config-ts": "0.4.1",
2020
"@apify/tsconfig": "^0.1.0",
2121
"@docusaurus/module-type-aliases": "3.10.1",
2222
"@docusaurus/types": "3.10.1",
2323
"@types/react": "^19.0.0",
24-
"@typescript-eslint/eslint-plugin": "^7.0.0",
25-
"@typescript-eslint/parser": "^7.0.0",
26-
"eslint": "^8.35.0",
27-
"eslint-plugin-react": "^7.32.2",
28-
"eslint-plugin-react-hooks": "^7.0.0",
24+
"@typescript-eslint/eslint-plugin": "7.18.0",
25+
"@typescript-eslint/parser": "7.18.0",
26+
"eslint": "8.57.1",
27+
"eslint-plugin-react": "7.37.5",
28+
"eslint-plugin-react-hooks": "7.0.1",
2929
"fs-extra": "^11.1.0",
3030
"patch-package": "^8.0.0",
3131
"path-browserify": "^1.0.1",

website/yarn.lock

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ __metadata:
272272
languageName: node
273273
linkType: hard
274274

275-
"@apify/eslint-config-ts@npm:^0.4.0":
275+
"@apify/eslint-config-ts@npm:0.4.1":
276276
version: 0.4.1
277277
resolution: "@apify/eslint-config-ts@npm:0.4.1"
278278
dependencies:
@@ -5426,7 +5426,7 @@ __metadata:
54265426
languageName: node
54275427
linkType: hard
54285428

5429-
"@typescript-eslint/eslint-plugin@npm:^7.0.0":
5429+
"@typescript-eslint/eslint-plugin@npm:7.18.0":
54305430
version: 7.18.0
54315431
resolution: "@typescript-eslint/eslint-plugin@npm:7.18.0"
54325432
dependencies:
@@ -5449,7 +5449,7 @@ __metadata:
54495449
languageName: node
54505450
linkType: hard
54515451

5452-
"@typescript-eslint/parser@npm:^7.0.0":
5452+
"@typescript-eslint/parser@npm:7.18.0":
54535453
version: 7.18.0
54545454
resolution: "@typescript-eslint/parser@npm:7.18.0"
54555455
dependencies:
@@ -9132,16 +9132,7 @@ __metadata:
91329132
languageName: node
91339133
linkType: hard
91349134

9135-
"eslint-plugin-react-hooks@npm:^4.3.0, eslint-plugin-react-hooks@npm:^4.6.0":
9136-
version: 4.6.2
9137-
resolution: "eslint-plugin-react-hooks@npm:4.6.2"
9138-
peerDependencies:
9139-
eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0
9140-
checksum: 10c0/4844e58c929bc05157fb70ba1e462e34f1f4abcbc8dd5bbe5b04513d33e2699effb8bca668297976ceea8e7ebee4e8fc29b9af9d131bcef52886feaa2308b2cc
9141-
languageName: node
9142-
linkType: hard
9143-
9144-
"eslint-plugin-react-hooks@npm:^7.0.0":
9135+
"eslint-plugin-react-hooks@npm:7.0.1":
91459136
version: 7.0.1
91469137
resolution: "eslint-plugin-react-hooks@npm:7.0.1"
91479138
dependencies:
@@ -9156,7 +9147,16 @@ __metadata:
91569147
languageName: node
91579148
linkType: hard
91589149

9159-
"eslint-plugin-react@npm:^7.27.0, eslint-plugin-react@npm:^7.32.2, eslint-plugin-react@npm:^7.33.2":
9150+
"eslint-plugin-react-hooks@npm:^4.3.0, eslint-plugin-react-hooks@npm:^4.6.0":
9151+
version: 4.6.2
9152+
resolution: "eslint-plugin-react-hooks@npm:4.6.2"
9153+
peerDependencies:
9154+
eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0
9155+
checksum: 10c0/4844e58c929bc05157fb70ba1e462e34f1f4abcbc8dd5bbe5b04513d33e2699effb8bca668297976ceea8e7ebee4e8fc29b9af9d131bcef52886feaa2308b2cc
9156+
languageName: node
9157+
linkType: hard
9158+
9159+
"eslint-plugin-react@npm:7.37.5, eslint-plugin-react@npm:^7.27.0, eslint-plugin-react@npm:^7.33.2":
91609160
version: 7.37.5
91619161
resolution: "eslint-plugin-react@npm:7.37.5"
91629162
dependencies:
@@ -9211,7 +9211,7 @@ __metadata:
92119211
languageName: node
92129212
linkType: hard
92139213

9214-
"eslint@npm:^8.35.0":
9214+
"eslint@npm:8.57.1":
92159215
version: 8.57.1
92169216
resolution: "eslint@npm:8.57.1"
92179217
dependencies:
@@ -16047,7 +16047,7 @@ __metadata:
1604716047
resolution: "root-workspace-0b6124@workspace:."
1604816048
dependencies:
1604916049
"@apify/docusaurus-plugin-typedoc-api": "npm:5.1.11"
16050-
"@apify/eslint-config-ts": "npm:^0.4.0"
16050+
"@apify/eslint-config-ts": "npm:0.4.1"
1605116051
"@apify/tsconfig": "npm:^0.1.0"
1605216052
"@apify/ui-icons": "npm:^1.23.0"
1605316053
"@apify/utilities": "npm:^2.8.0"
@@ -16065,16 +16065,16 @@ __metadata:
1606516065
"@mdx-js/react": "npm:^3.0.1"
1606616066
"@signalwire/docusaurus-plugin-llms-txt": "npm:^1.2.1"
1606716067
"@types/react": "npm:^19.0.0"
16068-
"@typescript-eslint/eslint-plugin": "npm:^7.0.0"
16069-
"@typescript-eslint/parser": "npm:^7.0.0"
16068+
"@typescript-eslint/eslint-plugin": "npm:7.18.0"
16069+
"@typescript-eslint/parser": "npm:7.18.0"
1607016070
axios: "npm:^1.16.0"
1607116071
buffer: "npm:^6.0.3"
1607216072
clsx: "npm:^2.0.0"
1607316073
crypto-browserify: "npm:^3.12.0"
1607416074
docusaurus-gtm-plugin: "npm:^0.0.2"
16075-
eslint: "npm:^8.35.0"
16076-
eslint-plugin-react: "npm:^7.32.2"
16077-
eslint-plugin-react-hooks: "npm:^7.0.0"
16075+
eslint: "npm:8.57.1"
16076+
eslint-plugin-react: "npm:7.37.5"
16077+
eslint-plugin-react-hooks: "npm:7.0.1"
1607816078
fs-extra: "npm:^11.1.0"
1607916079
patch-package: "npm:^8.0.0"
1608016080
path-browserify: "npm:^1.0.1"

yarn.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ __metadata:
266266
languageName: node
267267
linkType: hard
268268

269-
"@apify/eslint-config@npm:^2.0.0":
269+
"@apify/eslint-config@npm:2.0.0":
270270
version: 2.0.0
271271
resolution: "@apify/eslint-config@npm:2.0.0"
272272
dependencies:
@@ -1109,15 +1109,15 @@ __metadata:
11091109
version: 0.0.0-use.local
11101110
resolution: "@crawlee/root@workspace:."
11111111
dependencies:
1112-
"@apify/eslint-config": "npm:^2.0.0"
1112+
"@apify/eslint-config": "npm:2.0.0"
11131113
"@apify/log": "npm:^2.4.0"
11141114
"@apify/tsconfig": "npm:^0.1.0"
11151115
"@biomejs/biome": "npm:^2.3.11"
11161116
"@commitlint/config-conventional": "npm:^21.0.0"
11171117
"@playwright/browser-chromium": "npm:1.61.0"
11181118
"@playwright/browser-firefox": "npm:1.61.0"
11191119
"@playwright/browser-webkit": "npm:1.61.0"
1120-
"@stylistic/eslint-plugin": "npm:^5.0.0"
1120+
"@stylistic/eslint-plugin": "npm:5.7.1"
11211121
"@types/content-type": "npm:^1.1.5"
11221122
"@types/deep-equal": "npm:^1.0.1"
11231123
"@types/domhandler": "npm:^2.4.2"
@@ -1145,8 +1145,8 @@ __metadata:
11451145
commitlint: "npm:^21.0.0"
11461146
cross-env: "npm:^10.0.0"
11471147
deep-equal: "npm:^2.0.5"
1148-
eslint: "npm:^9.23.0"
1149-
eslint-config-prettier: "npm:^10.1.1"
1148+
eslint: "npm:9.39.1"
1149+
eslint-config-prettier: "npm:10.1.8"
11501150
express: "npm:^4.18.1"
11511151
fs-extra: "npm:^11.0.0"
11521152
gen-esm-wrapper: "npm:^1.1.3"
@@ -1166,7 +1166,7 @@ __metadata:
11661166
tsx: "npm:^4.4.0"
11671167
turbo: "npm:^2.1.0"
11681168
typescript: "npm:^6.0.0"
1169-
typescript-eslint: "npm:^8.28.0"
1169+
typescript-eslint: "npm:8.46.4"
11701170
vitest: "npm:^4.0.16"
11711171
languageName: unknown
11721172
linkType: soft
@@ -3008,7 +3008,7 @@ __metadata:
30083008
languageName: node
30093009
linkType: hard
30103010

3011-
"@stylistic/eslint-plugin@npm:^5.0.0":
3011+
"@stylistic/eslint-plugin@npm:5.7.1":
30123012
version: 5.7.1
30133013
resolution: "@stylistic/eslint-plugin@npm:5.7.1"
30143014
dependencies:
@@ -6420,7 +6420,7 @@ __metadata:
64206420
languageName: node
64216421
linkType: hard
64226422

6423-
"eslint-config-prettier@npm:^10.1.1":
6423+
"eslint-config-prettier@npm:10.1.8":
64246424
version: 10.1.8
64256425
resolution: "eslint-config-prettier@npm:10.1.8"
64266426
peerDependencies:
@@ -6516,7 +6516,7 @@ __metadata:
65166516
languageName: node
65176517
linkType: hard
65186518

6519-
"eslint@npm:^9.23.0":
6519+
"eslint@npm:9.39.1":
65206520
version: 9.39.1
65216521
resolution: "eslint@npm:9.39.1"
65226522
dependencies:
@@ -14004,7 +14004,7 @@ __metadata:
1400414004
languageName: node
1400514005
linkType: hard
1400614006

14007-
"typescript-eslint@npm:^8.28.0":
14007+
"typescript-eslint@npm:8.46.4":
1400814008
version: 8.46.4
1400914009
resolution: "typescript-eslint@npm:8.46.4"
1401014010
dependencies:

0 commit comments

Comments
 (0)