Skip to content

Commit

Permalink
fix(eslint-plugin): bump typescript-eslint to v7 (#3002)
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Mar 12, 2024
1 parent 8f8d089 commit 1eb8c14
Show file tree
Hide file tree
Showing 45 changed files with 187 additions and 177 deletions.
10 changes: 10 additions & 0 deletions .changeset/young-fishes-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@rnx-kit/eslint-plugin": minor
---

Bumped `@typescript-eslint/eslint-plugin` to v7. This brings the following breaking changes:

- Update Node.js engine requirement to ^18.18.0 || >=20.0.0. This means we are dropping support for Node 16, 19, and Node 18 versions prior to 18.18.0. Note that this is the same requirement that ESLint v9 will impose.
- Update the ESLint peer dependency requirement to ^8.56.0.

For more details, check their blog post: https://typescript-eslint.io/blog/announcing-typescript-eslint-v7/
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"react": "18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion incubator/@react-native-webapis/web-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@rnx-kit/eslint-config": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"react": "18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion incubator/build-plugin-firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@rnx-kit/jest-preset": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion incubator/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@types/node": "^20.0.0",
"@types/qrcode": "^1.4.2",
"@types/yargs": "^16.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion incubator/chromium-edge-launcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@types/mkdirp": "^1.0.1",
"@types/rimraf": "^3.0.0",
"@types/sinon": "^9.0.1",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"sinon": "^9.0.1",
Expand Down
2 changes: 1 addition & 1 deletion incubator/commitlint-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion incubator/esbuild-bundle-analyzer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"@types/yargs": "^16.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion incubator/patcher-rnmacos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@types/fs-extra": "^9.0.0",
"@types/istextorbinary": "^2.3.0",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion incubator/polyfills/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@types/babel__template": "^7.0.0",
"@types/node": "^20.0.0",
"chalk": "^4.1.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro-config": "^0.80.0",
"prettier": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion incubator/react-native-error-trace-decorator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"@types/yargs": "^16.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion incubator/rn-changelog-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@types/node": "^20.0.0",
"chalk": "^4.1.0",
"deepmerge": "^4.2.2",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"fast-levenshtein": "^3.0.0",
"jest": "^29.2.1",
"p-limit": "^3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@changesets/cli": "^2.22.0",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"metro": "^0.80.0",
"nx": "~17.2.0",
"prettier": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/align-deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@types/yargs": "^16.0.0",
"chalk": "^4.1.0",
"detect-indent": "^6.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"markdown-table": "^3.0.0",
"package-json": "^8.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-import-path-remapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/babel__helper-plugin-utils": "^7.0.0",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-metro-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@types/babel__core": "^7.0.0",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro-react-native-babel-preset": "^0.76.5",
"prettier": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/bundle-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@types/node": "^20.0.0",
"@types/node-fetch": "^2.6.5",
"@types/qrcode": "^1.4.2",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"memfs": "^4.0.0",
"metro": "^0.80.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"@types/semver": "^7.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro": "^0.80.0",
"prettier": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/esbuild-plugin-import-path-remapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"esbuild": "^0.20.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"format": "prettier --write --log-level error README.md index.js package.json"
},
"dependencies": {
"@eslint/eslintrc": "^2.1.2",
"@eslint/js": "^8.33.0",
"@eslint/eslintrc": "^2.1.4",
"@eslint/js": "^8.56.0",
"@rnx-kit/eslint-plugin": "workspace:*"
},
"peerDependencies": {
"eslint": ">=6.0.0"
"eslint": ">=8.56.0"
},
"devDependencies": {
"prettier": "^3.0.0"
Expand Down
14 changes: 7 additions & 7 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@
"test": "rnx-kit-scripts test"
},
"dependencies": {
"@eslint/eslintrc": "^2.1.2",
"@eslint/js": "^8.33.0",
"@eslint/eslintrc": "^2.1.4",
"@eslint/js": "^8.56.0",
"@react-native/eslint-plugin": "^0.74.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"enhanced-resolve": "^5.8.3",
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-react-hooks": "^4.6.0"
},
"peerDependencies": {
"eslint": ">=8.23.0"
"eslint": ">=8.56.0"
},
"devDependencies": {
"@microsoft/eslint-plugin-sdl": "^0.2.0",
Expand All @@ -63,8 +63,8 @@
"@types/estree": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"@typescript-eslint/types": "^6.0.0",
"eslint": "^8.23.0",
"@typescript-eslint/types": "^7.0.0",
"eslint": "^8.56.0",
"eslint-plugin-node": "11.1.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"react": "18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@types/babel__core": "^7.0.0",
"@types/connect": "^3.4.36",
"@types/jest": "^29.2.1",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro": "^0.80.0",
"metro-config": "^0.80.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro": "^0.80.0",
"prettier": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-plugin-duplicates-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"memfs": "^4.0.0",
"metro": "^0.80.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-plugin-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"@types/semver": "^7.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro": "^0.80.0",
"prettier": "^3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-resolver-symlinks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro-resolver": "^0.80.0",
"prettier": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-serializer-esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"lodash-es": "^4.17.21",
"metro": "^0.80.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-serializer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"@types/semver": "^7.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro": "^0.80.0",
"prettier": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"@types/node-fetch": "^2.6.5",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"flow-remove-types": "~2.229.0",
"jest": "^29.2.1",
"metro": "^0.80.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@rnx-kit/eslint-config": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"prettier": "^3.0.0",
"react": "18.2.0",
"react-native": "^0.73.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-lazy-index/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@rnx-kit/tsconfig": "*",
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@rnx-kit/jest-preset": "*",
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@rnx-kit/tsconfig": "workspace:*",
"@testing-library/react-native": "^12.4.3",
"@types/react": "^18.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"react-native-test-app": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/third-party-notices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@types/jest": "^29.2.1",
"@types/node": "^20.0.0",
"@types/yargs": "^16.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro-source-map": "^0.80.0",
"prettier": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/tools-language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/tools-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"prettier": "^3.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/tools-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@rnx-kit/scripts": "*",
"@rnx-kit/tsconfig": "*",
"@types/node": "^20.0.0",
"eslint": "^8.23.0",
"eslint": "^8.56.0",
"jest": "^29.2.1",
"metro": "^0.80.0",
"metro-config": "^0.80.0",
Expand Down

0 comments on commit 1eb8c14

Please sign in to comment.