Skip to content

Commit

Permalink
chore(linting): clean up ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
kleinfreund committed Jan 12, 2025
1 parent 7299023 commit 01f5aed
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ export default tseslint.config(
'@stylistic': stylistic,
},
rules: {
// Interferes with `get [Symbol.toStringTag]`.
'@typescript-eslint/class-literal-property-style': 'off',
// Don't care.
// When working with the DOM, non-null assertions are really useful and I want to use them.
'@typescript-eslint/no-non-null-assertion': 'off',

'@stylistic/comma-dangle': ['error', 'always-multiline'],
Expand All @@ -33,10 +31,4 @@ export default tseslint.config(
'@stylistic/quotes': ['error', 'single'],
},
},
{
files: ['**/*.test.{js,ts}'],
rules: {
'@typescript-eslint/ban-ts-comment': 'off',
},
},
)

0 comments on commit 01f5aed

Please sign in to comment.