Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typescript-eslint monorepo ^6.0.0 #125

Merged
merged 11 commits into from
Aug 4, 2023
9 changes: 9 additions & 0 deletions .changeset/spicy-jars-turn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'eslint-config-seek': major
---

Bump up typescript-eslint monorepo to ^6.0.0.

This requires eslint 7+.

This change also includes a number of rule changes to the default configuration. Read the [release notes](https://typescript-eslint.io/blog/announcing-typescript-eslint-v6) for more information.
3 changes: 2 additions & 1 deletion base.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ const baseConfig = {
warnOnUnsupportedTypeScriptVersion: false,
},
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/stylistic',
'prettier',
],
settings: {
Expand All @@ -130,6 +130,7 @@ const baseConfig = {
},
},
rules: {
'@typescript-eslint/array-simple': [ERROR, { default: 'array-simple' }],
'@typescript-eslint/no-unused-expressions': ERROR,
'@typescript-eslint/no-unused-vars': [
ERROR,
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
"@babel/eslint-parser": "^7.22.6",
"@babel/preset-react": "^7.22.5",
"@finsit/eslint-plugin-cypress": "^3.1.1",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.2",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-rulesdir": "^0.2.2",
Expand All @@ -48,7 +48,7 @@
"typescript": "~5.1.6"
},
"peerDependencies": {
"eslint": ">=6",
"eslint": ">=7",
"typescript": ">=4.5"
},
"packageManager": "[email protected]",
Expand Down
166 changes: 120 additions & 46 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.