-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
54 lines (54 loc) · 1.35 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
52
53
54
module.exports = {
root: true,
env: {
browser: true,
es6: true,
node: true,
jest: true,
},
extends: [
'plugin:react/recommended',
'airbnb',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: [
'react',
],
rules: {
'react/prop-types': 'off',
'no-plusplus': 'off',
'no-param-reassign': 0,
'react/no-array-index-key': 'off',
'react/button-has-type': 'off',
'react/jsx-boolean-value': 'off',
'react/jsx-filename-extension': 'off',
'no-console': 'off',
'import/prefer-default-export': 'off',
'space-infix-ops': 'off',
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
'jsx-a11y/no-noninteractive-element-interactions': 'off',
'import/named': 'off',
'import/no-named-as-default': 'off',
'guard-for-in': 'off',
'react/no-unknown-property': [2, { ignore: ['key'] }],
'no-restricted-syntax': 'off',
'consistent-return': 'off',
'array-callback-return': 'off',
'react/jsx-props-no-spreading': 'off',
'jsx-a11y/label-has-associated-control': 'off',
'import/no-extraneous-dependencies': 'off',
'no-await-in-loop': 'off',
radix: 'off',
},
};