-
Notifications
You must be signed in to change notification settings - Fork 14
/
.eslintrc.json
69 lines (65 loc) · 1.56 KB
/
.eslintrc.json
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
64
65
66
67
68
69
{
"extends": ["eslint:recommended"],
"plugins": ["babel", "mocha", "import"],
"parser": "babel-eslint",
"env":{
"es6": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"no-useless-escape": [0],
"consistent-return": [0],
"eqeqeq": [2, "smart"],
"import/no-extraneous-dependencies": [0],
"mocha/no-exclusive-tests": "error",
"no-console": [0],
"no-debugger": [0],
"no-unused-vars": [0],
"no-undefined": [0],
"no-undef": [0],
"prefer-template": [0],
"no-mixed-requires": [0],
"quotes": [2, "single"],
"radix": [0],
"semi": [2, "always"],
"camelcase": 0,
"no-underscore-dangle": 0,
"indent": [2, 2],
"comma-dangle": [2, "never"],
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-empty": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": 2,
"no-extra-semi": 2,
"no-func-assign": 2,
"no-inner-declarations": 2,
"no-irregular-whitespace": 2,
"no-negated-in-lhs": 2,
"no-sparse-arrays": 2,
"no-unexpected-multiline": 2,
"no-unreachable": 2,
"use-isnan": 2,
"block-scoped-var": 2,
"curly": [2, "multi-line"],
"default-case": 2,
"guard-for-in": 0,
"no-alert": 2,
"no-caller": 2,
"no-case-declarations": 2,
"no-else-return": 2,
"no-labels": 2,
"no-empty-pattern": 2,
"no-eq-null": 2,
"no-eval": 2,
"import/no-mutable-exports": 0,
"import/no-unresolved": 0,
"import/named": 2,
"import/namespace": 2,
"import/export": 2,
"import/no-duplicates": 2
}
}