/
.eslintrc
50 lines (50 loc) · 1.3 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"extends": "airbnb",
"env": {
"browser": false,
"commonjs": false,
"es6": true,
"mocha": true,
"node": true,
"shared-node-browser": true,
"webextensions": true,
"worker": true
},
"globals": {
"Components": {},
"Services": {},
"dump": {},
"System": {},
"Cc": {},
"Ci": {},
"Promise": {},
"setTimeout": {},
"setInterval": {},
"clearTimeout": {}
},
"rules": {
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": 0,
"import/extensions": "off",
"no-multi-assign": "off",
"spaced-comment": "off",
"class-methods-use-this": "off",
"no-restricted-syntax": [
'error',
'ForInStatement',
'LabeledStatement',
'WithStatement',
],
"no-underscore-dangle": "off",
"comma-dangle": ["error", {
"arrays": "only-multiline",
"objects": "only-multiline",
"functions": "ignore",
}],
"react/require-default-props": "off",
"react/prop-types": "off",
"jsx-a11y/alt-text": "off",
"react/no-array-index-key": "off",
"react/jsx-wrap-multilines": "off"
}
}