Skip to content

Commit

Permalink
fix(deps): update dependency typescript-eslint to ^7.11.0 (#1278)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency typescript-eslint to ^7.11.0

* fix(typescript): replace deprecated prefer-ts-expect-error with ban-ts-comment

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: teppeis <teppeis@gmail.com>
  • Loading branch information
renovate[bot] and teppeis committed Jun 2, 2024
1 parent 8fd586b commit 3ce1f95
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 52 deletions.
117 changes: 67 additions & 50 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"eslint-plugin-n": "^17.7.0",
"eslint-plugin-unicorn": "^53.0.0",
"globals": "^15.3.0",
"typescript-eslint": "^7.9.0"
"typescript-eslint": "^7.11.0"
},
"devDependencies": {
"@types/eslint__js": "^8.42.3",
Expand Down
2 changes: 1 addition & 1 deletion src/configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ export const typescript = merge(
"@typescript-eslint/no-inferrable-types": 2,

// Additional rules
"@typescript-eslint/ban-ts-comment": 2,
"@typescript-eslint/consistent-type-imports": 2,
"@typescript-eslint/no-import-type-side-effects": 2,
// allow require for power-assert and verbatimModuleSyntax
// '@typescript-eslint/no-require-imports': 2,
"@typescript-eslint/prefer-literal-enum-member": 2,
"@typescript-eslint/prefer-ts-expect-error": 2,
},
settings: {
// Don't enable rules that requires TypeScript parser for perf reasons.
Expand Down

0 comments on commit 3ce1f95

Please sign in to comment.