Skip to content

Commit ef6ff11

Browse files
committed
Fixed eslint rule
1 parent 9a8b038 commit ef6ff11

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.eslintrc.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,28 @@ module.exports = {
88
'plugin:@typescript-eslint/recommended-requiring-type-checking',
99
'prettier',
1010
'prettier/react',
11-
'prettier/@typescript-eslint'
11+
'prettier/@typescript-eslint',
1212
],
1313
env: {
1414
browser: true,
15-
es6: true
15+
es6: true,
1616
},
1717
parser: '@typescript-eslint/parser',
1818
parserOptions: {
1919
project: path.resolve(__dirname, './tsconfig.test.json'),
20-
sourceType: 'module'
20+
sourceType: 'module',
2121
},
2222
settings: {
2323
'import/resolver': {
2424
node: {
25-
extensions: ['.js', '.jsx', '.ts', '.tsx']
26-
}
27-
}
25+
extensions: ['.js', '.jsx', '.ts', '.tsx'],
26+
},
27+
},
2828
},
2929
ignorePatterns: ['/generated.tsx', 'node_modules/'],
3030
plugins: ['prettier', '@typescript-eslint'],
3131
rules: {
32-
'prettier/prettier': 'error',
32+
'prettier/prettier': 'off',
3333
'@typescript-eslint/no-explicit-any': 'off',
3434
'@typescript-eslint/no-use-before-define': 'off',
3535
'@typescript-eslint/no-non-null-assertion': 'off',
@@ -57,8 +57,8 @@ module.exports = {
5757
argsIgnorePattern: '^_',
5858
ignoreRestSiblings: false,
5959
ignoreRestSiblings: true,
60-
caughtErrorsIgnorePattern: '^ignore'
61-
}
60+
caughtErrorsIgnorePattern: '^ignore',
61+
},
6262
],
6363
'arrow-parens': ['off', 'as-needed'],
6464
camelcase: 'off',
@@ -94,8 +94,8 @@ module.exports = {
9494
{
9595
blankLine: 'always',
9696
prev: '*',
97-
next: 'return'
98-
}
97+
next: 'return',
98+
},
9999
],
100100
'prefer-const': 'error',
101101
'prefer-template': 'error',
@@ -138,15 +138,15 @@ module.exports = {
138138
'everything-else',
139139
'/^on.+$/',
140140
'/^handle.+$/',
141-
'rendering'
141+
'rendering',
142142
],
143143
groups: {
144-
rendering: ['/^render.+$/', 'render']
145-
}
146-
}
144+
rendering: ['/^render.+$/', 'render'],
145+
},
146+
},
147147
],
148148

149149
'jsx-a11y/anchor-is-valid': 'off',
150-
'jsx-a11y/alt-text': 'off'
151-
}
150+
'jsx-a11y/alt-text': 'off',
151+
},
152152
}

0 commit comments

Comments
 (0)