Skip to content

Commit

Permalink
chore: bump typescript-eslint to v8 alpha (#1596)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Jul 8, 2024
1 parent 0d90025 commit 2fbe1e6
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 98 deletions.
20 changes: 7 additions & 13 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,25 +55,19 @@ export default tseslint.config(
},
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/ban-types': [
'error',
{
'types': {
// accept Function type
'Function': false
},
'extendDefaults': true
}
],
'@typescript-eslint/consistent-type-exports': 'error',
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-empty-object-type': [
'error',
{ allowInterfaces: 'with-single-extends' }, // maybe we should turn this on in a new PR
],
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-unsafe-function-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-inferrable-types': 'error',
'@typescript-eslint/no-unused-vars': ['error', { 'argsIgnorePattern': '^_', 'destructuredArrayIgnorePattern': '^_' }],
'@typescript-eslint/quotes': ['error', 'single', { 'allowTemplateLiterals': true }],
'@typescript-eslint/semi': 'error',
'@typescript-eslint/no-unused-expressions': 'off',
'@typescript-eslint/no-unused-vars': ['error', { 'argsIgnorePattern': '^_', 'destructuredArrayIgnorePattern': '^_', caughtErrors: 'none' }],
'curly': 'error',
'cypress/no-assigning-return-values': 'off',
'cypress/no-unnecessary-waiting': 'off',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.3",
"typescript-eslint": "^7.15.0",
"typescript-eslint": "^8.0.0-alpha.41",
"whatwg-fetch": "^3.6.20"
},
"funding": {
Expand Down
166 changes: 82 additions & 84 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 2fbe1e6

Please sign in to comment.