-
Notifications
You must be signed in to change notification settings - Fork 14
/
.eslintrc.js
43 lines (43 loc) · 968 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
42
43
module.exports = {
'extends': 'airbnb',
'parser': 'babel-eslint',
'parserOptions': {
'sourceType': 'module',
'allowImportExportEverywhere': false
},
'env': {
'browser': true,
'worker': true,
},
'rules': {
'no-underscore-dangle': 0,
'class-methods-use-this': 0,
'no-plusplus': 0,
'no-loop-func': 0,
'no-mixed-operators': [
'error', {
'allowSamePrecedence': true
}
],
'no-param-reassign': [
'error', {
'props': false
}
],
'no-prototype-builtins': 0,
'no-restricted-syntax': [
'error',
'LabeledStatement',
'WithStatement',
],
'no-bitwise': 0,
'import/prefer-default-export': 0,
'prefer-default-export': 0,
'func-names': 0,
'arrow-body-style': 0,
'function-paren-newline': 0,
'object-curly-newline': 0,
'no-await-in-loop': 0,
'prefer-destructuring': ['error', { 'object': true, 'array': false }],
}
};