Skip to content

Commit

Permalink
feat(eslint): upgrade @typescript-eslint/* and recommended configs
Browse files Browse the repository at this point in the history
Resolves #66

BREAKING CHANGE: Upgrading to `@typescript-eslint/*@6.x` may have have enabled additional rules.
  • Loading branch information
mrmckeb committed Aug 29, 2023
1 parent 8f612e0 commit 8c4c673
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 63 deletions.
5 changes: 4 additions & 1 deletion eslint/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ module.exports = {
files: TYPESCRIPT_FILES,
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:@typescript-eslint/recommended-type-checked',
'plugin:@typescript-eslint/strict',
'plugin:@typescript-eslint/strict-type-checked',
'plugin:@typescript-eslint/stylistic',
'plugin:@typescript-eslint/stylistic-type-checked',
'plugin:import/typescript',
'prettier',
require.resolve('./rules/typescript'),
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"@babel/core": "^7.22.11",
"@babel/eslint-parser": "^7.22.11",
"@rushstack/eslint-patch": "^1.3.3",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.6.0",
Expand Down
181 changes: 121 additions & 60 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 8c4c673

Please sign in to comment.