-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
51 lines (51 loc) · 1.43 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
module.exports = {
extends: ['eslint:recommended', 'plugin:react/recommended'],
parser: '@babel/eslint-parser',
env: {
browser: true,
node: true,
es6: true,
},
globals: {
ResizeObserver: true,
__non_webpack_require__: true,
},
settings: {
'import/resolver': {
node: {},
webpack: {},
},
},
rules: {
'no-restricted-syntax': 'off',
'arrow-parens': 'off',
'no-plusplus': 'off',
'class-methods-use-this': 'off',
'no-underscore-dangle': 'off',
'no-case-declarations': 'off',
'react/jsx-filename-extension': 'off',
'react/prefer-stateless-function': 'off',
'react/no-multi-comp': 'off',
'import/prefer-default-export': 'off',
'react/prop-types': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
'jsx-a11y/no-noninteractive-element-interactions': 'off',
'jsx-a11y/alt-text': 'off',
'jsx-a11y/click-events-have-key-events': 'off',
'arrow-body-style': 'off',
'no-console': 'off',
'no-use-before-define': 'off',
'no-param-reassign': 'off',
'object-curly-newline': 'off',
'object-curly-spacing': 'off',
'no-empty': 'off',
'no-else-return': 'off',
'no-await-in-loop': 'off',
'max-classes-per-file': 'off',
'react/destructuring-assignment': 'off',
'react/jsx-props-no-spreading': 'off',
'consistent-return': 'off',
'jsx-a11y/anchor-is-valid': 'off',
'react/jsx-curly-newline': 'off',
},
};