-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 897 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
32
33
34
35
36
37
38
39
40
41
{
"extends": "airbnb",
"plugins": [
"no-inferred-method-name",
],
"env": {
"es6": true,
"node": true,
},
"globals": {
"atom": true,
"document": true,
},
# Custom Disabled Rules
rules: {
camelcase: 0,
max-len: 0,
no-console: ["error", { allow: ["info", "warn", "error"] }],
no-param-reassign: 0,
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
comma-dangle: ['error', {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "ignore",
"exports": "ignore",
"functions": "ignore",
}],
no-restricted-syntax: [
'error',
'ForOfStatement',
'LabeledStatement',
'WithStatement',
],
# Rules up for debate:
# func-names: 0,
# global-require: 0,
# no-else-return: 0,
# no-undef: 0,
# quotes: 0,
}
}