-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
41 lines (41 loc) · 1006 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
40
41
module.exports = {
extends: ['airbnb', 'plugin:prettier/recommended'],
parser: 'babel-eslint',
env: {
browser: true,
jasmine: true,
node: true,
},
globals: {
test: true,
},
plugins: ['react'],
rules: {
'react/forbid-prop-types': 0,
'global-require': 0,
'prefer-arrow-callback': 0,
'func-names': 0,
'space-in-brackets': 0,
'import/no-extraneous-dependencies': 0,
'no-underscore-dangle': 0,
'no-unused-expressions': 0,
'no-use-before-define': 0,
'react/jsx-filename-extension': 0,
'react/sort-comp': 0,
'react/no-multi-comp': 0,
'react/require-extension': 0,
'react/prefer-stateless-function': 0,
'react/prop-types': 0,
'react/jsx-no-bind': 0,
'react/jsx-closing-bracket-location': 0,
'react/jsx-props-no-spreading': 0,
'react/jsx-indent': 0,
'react/jsx-indent-props': 0,
'jsx-a11y/alt-text': 0,
'react/jsx-curly-brace-presence': 0,
'no-return-assign': 0,
'react/no-find-dom-node': 0,
'no-param-reassign': 0,
'consistent-return': 0,
},
};