Skip to content

Commit

Permalink
add new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ann-kilzer committed Aug 4, 2024
1 parent 0f77231 commit 5c6dbae
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 330 deletions.
10 changes: 7 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
},
plugins: [
'react-refresh',
'@stylistic/ts'
'@stylistic'
],
rules: {
'react-refresh/only-export-components': [
Expand All @@ -26,8 +26,12 @@ module.exports = {
'quotes': ['error', 'single'],
'@typescript-eslint/prefer-nullish-coalescing': 'off',
'@typescript-eslint/no-unsafe-call': ['off'],
'@stylistic/ts/indent': ['error', 4],
'@stylistic/ts/semi': ['error', 'never'],
'@stylistic/indent': ['error', 4],
'@stylistic/semi': ['error', 'never'],
'@stylistic/no-multi-spaces': 'error',
'@stylistic/no-trailing-spaces': 'error',
'@stylistic/no-mixed-spaces-and-tabs': 'error',
'@typescript-eslint/no-explicit-any': 'error',
},
settings: {
react: {
Expand Down
Loading

0 comments on commit 5c6dbae

Please sign in to comment.