Skip to content

Commit

Permalink
typescript-eslint monorepo ^6.0.0 (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
samchungy authored Aug 4, 2023
1 parent 3cce585 commit b09afa8
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 51 deletions.
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": "pnpm@8.6.6",
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.

0 comments on commit b09afa8

Please sign in to comment.