Skip to content

Commit

Permalink
chore: bump typescript-eslint to v8
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jul 6, 2024
1 parent e496de5 commit f4ed211
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 193 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ module.exports = {
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
'@typescript-eslint/no-require-imports': 'error',
'@typescript-eslint/ban-ts-comment': 'warn',
'@typescript-eslint/ban-types': 'error',
'@typescript-eslint/no-empty-object-type': 'error',
'@typescript-eslint/no-unsafe-function-type': 'error',
'@typescript-eslint/no-wrapper-object-types': 'error',
'@typescript-eslint/consistent-type-imports': [
'error',
{ disallowTypeAnnotations: false, fixStyle: 'inline-type-imports' },
Expand Down
15 changes: 10 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
]
},
"dependencies": {
"@typescript-eslint/utils": "^6.0.0 || ^7.0.0"
"@typescript-eslint/utils": "^6.0.0 || ^7.0.0 || 8.0.0-alpha.40"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
Expand All @@ -74,9 +74,9 @@
"@types/eslint": "^8.4.6",
"@types/jest": "^29.0.0",
"@types/node": "^14.18.26",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@typescript-eslint/utils": "^6.0.0",
"@typescript-eslint/eslint-plugin": "8.0.0-alpha.40",
"@typescript-eslint/parser": "8.0.0-alpha.40",
"@typescript-eslint/utils": "8.0.0-alpha.40",
"babel-jest": "^29.0.0",
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
"dedent": "^1.5.0",
Expand Down Expand Up @@ -106,7 +106,7 @@
"typescript": "^5.0.4"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^6.0.0 || ^7.0.0",
"@typescript-eslint/eslint-plugin": "*",
"eslint": "^7.0.0 || ^8.0.0 || ^9.0.0",
"jest": "*"
},
Expand All @@ -124,5 +124,10 @@
},
"publishConfig": {
"provenance": true
},
"resolutions": {
"@typescript-eslint/eslint-plugin": "8.0.0-alpha.40",
"@typescript-eslint/parser": "8.0.0-alpha.40",
"@typescript-eslint/utils": "8.0.0-alpha.40"
}
}
2 changes: 1 addition & 1 deletion src/rules/__tests__/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class FlatCompatRuleTester extends TSESLint.RuleTester {

public override run<
TMessageIds extends string,
TOptions extends Readonly<unknown[]>,
TOptions extends readonly unknown[],
>(
ruleName: string,
rule: TSESLint.RuleModule<TMessageIds, TOptions>,
Expand Down
Loading

0 comments on commit f4ed211

Please sign in to comment.