forked from magora-labs/mgl-validate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
66 lines (66 loc) · 1.82 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
64
65
66
{
"rules": {
"no-cond-assign": 2,
"no-delete-var": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 1,
"no-empty-class": 2,
"no-extra-bind": 2,
"no-extra-semi": 2,
"no-extra-parens": 1,
"no-fallthrough": 2,
"no-func-assign": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-multi-spaces": 2,
"no-new-func": 2,
"no-new-object": 2,
"no-process-exit": 2,
"no-redeclare": 2,
"no-shadow": 1,
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-undef": 2,
"no-unused-vars": [1, {"vars": "local", "args": "after-used"}],
"no-underscore-dangle": 0,
"no-use-before-define": [2, "nofunc"],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"camelcase": 0,
"comma-spacing": [2, {"before": false, "after": true}],
"comma-dangle": [2, "never"],
"consistent-return": 0,
"consistent-this": [2, "self"],
"curly": [2, "all"],
"dot-notation": [2, "allowKeywords"],
"eol-last": 2,
"eqeqeq": [2, "smart"],
"indent": [2, 2],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"new-parens": 2,
"quotes": [2, "single"],
"semi": [2, "always"],
"space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-parentheses": [2, "never"],
"space-in-brackets": [2, "never"],
"space-infix-ops": 2,
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"space-return-throw-case": 2,
"spaced-line-comment": [2, "always"],
"strict": [2, "global"],
"valid-typeof": 2,
"yoda": [2, "never"],
"valid-jsdoc": [1, {
"requireReturn": false,
"requireReturnDescription": false,
"prefer": {
"returns": "return"
}
}]
},
"env": {
"node": true
}
}