-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
31 lines (29 loc) · 834 Bytes
/
.eslintrc
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
{
'extends': 'airbnb',
'rules': {
'indent': [2, 4, {
SwitchCase: 1,
}],
'prefer-const': 0,
'no-param-reassign': [2, { props: false }],
'no-underscore-dangle': [2, {
allowAfterThis: true,
allowAfterSuper: true,
}],
'react/jsx-filename-extension': 0,
'react/jsx-indent': [2, 4],
'react/jsx-indent-props': [2, 4],
'class-methods-use-this': "off",
// concerned
'react/forbid-prop-types': "off",
'react/no-unused-prop-types': "off",
'no-plusplus': "off",
'no-bitwise': "off",
// temporary disabled, should be enabled later
'jsx-a11y/no-static-element-interactions': "off",
},
'globals': {
'window': true,
'document': false,
},
}