forked from maasglobal/maas-schemas
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
63 lines (60 loc) · 1.47 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
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "script"
},
"env": {
"node": true,
"jest": true,
"mocha": true
},
"extends": ["eslint:recommended", "airbnb-base"],
"rules": {
"no-console": 0,
// airbnb reset
"prefer-template": 0,
"func-names": 0,
"padded-blocks": 0,
"object-shorthand": 0,
"no-unused-expressions": 0,
"newline-per-chained-call": 0,
"arrow-body-style": 0,
"no-param-reassign": 0,
"global-require": 0,
"array-callback-return": 0,
"no-multi-spaces": 0,
"spaced-comment": 0,
"no-shadow": 0,
"no-underscore-dangle": 0,
"camelcase": 0,
"space-in-parens": 0,
"no-restricted-syntax": 0,
"import/no-unresolved": 0, // fails in Travis",
"import/no-extraneous-dependencies": 0,
"import/newline-after-import": 0,
"no-continue": 0,
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
"max-len": [2, 256],
"max-depth": [2, 2],
"comma-dangle": [2, "always-multiline"],
"strict": [2, "global"],
"arrow-parens": [2, "as-needed"],
"prefer-const": 2,
"prefer-arrow-callback": 2,
"arrow-spacing": 2,
"no-confusing-arrow": 2,
"consistent-return": 2,
"no-else-return": 2,
"no-lonely-if": 2,
"no-return-assign": 2,
"no-self-compare": 2,
"no-use-before-define": 2,
"no-extend-native": 2,
"guard-for-in": 2,
"no-var": 2,
"radix": 2,
"eol-last": 2,
"no-caller": 2,
"no-bitwise": 2
}
}