-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.js
39 lines (39 loc) · 903 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
module.exports = {
extends: [
'eslint:recommended',
'react-app',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:@next/next/recommended',
'plugin:jest/recommended',
'plugin:testing-library/react',
'plugin:jsx-a11y/recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
plugins: [
'react',
'react-hooks',
'jsx-a11y',
'jest',
'testing-library',
'@typescript-eslint',
'prettier',
],
rules: {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'jsx-a11y/anchor-is-valid': 'off',
'@typescript-eslint/quotes': [
'error',
'single',
{
avoidEscape: true,
allowTemplateLiterals: true,
},
],
'@typescript-eslint/no-var-requires': 'off',
'testing-library/no-node-access': 'off',
'react/prop-types': 'warn',
},
}