-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.js
60 lines (60 loc) · 1.58 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
55
56
57
58
59
60
module.exports = {
env: {
browser: true,
es6: true,
node: true,
},
extends: ['airbnb', 'prettier', 'prettier/react'],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: ['react', 'prettier'],
rules: {
'prettier/prettier': ['error'],
'react/jsx-filename-extension': 'off',
'import/no-unresolved': 'off',
'no-param-reassign': 'off',
'react/jsx-props-no-spreading': 'off',
'react/default-props-match-prop-types': 'off',
'react/require-default-props': 'off',
'import/no-extraneous-dependencies': 'off',
'react/forbid-prop-types': 'off',
'global-require': 'off',
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/no-static-element-interactions': 'off',
camelcase: 'off',
'no-underscore-dangle': 'off',
'no-console': 'off',
'no-plusplus': 'off',
'no-continue': 'off',
'no-restricted-syntax': 'off',
'no-await-in-loop': 'off',
'no-prototype-builtins': 'off',
'no-unused-vars': 'off',
'no-named-as-default': 'off',
'no-use-before-define': 'off',
'no-shadow': 'off',
'no-useless-constructor': 'off',
'no-named-as-default-member': 'off',
'no-empty-function': 'off',
'no-unused-expressions': 'off',
'no-useless-concat': 'off',
'no-undef': 'off',
'no-bitwise': 'off',
'no-else-return': 'off',
'no-restricted-globals': 'off',
'no-restricted-properties': 'off',
'consistent-return': 'off',
'import/prefer-default-export': 'off',
'no-nested-ternary': 'off',
'react/no-array-index-key': 'off',
},
};