-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
52 lines (52 loc) · 1.64 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
{
"extends": "eslint:recommended",
"env": {
"node": true,
"jasmine": true
},
"indent": 2,
"brace-style": 1,
"camelcase": 1,
"comma-spacing": [1, {"before": false, "after": true}],
"comma-style": [1, "last"],
"consistent-this": [1, "_this"],
"eol-last": 1,
"func-names": 0,
"func-style": 0,
"key-spacing": [1, {"beforeColon": false, "afterColon": true}],
"max-nested-callbacks": [1, 3],
"new-cap": [1, {newIsCap: true, capIsNew: false}],
"new-parens": 1,
"newline-after-var": 0,
"no-array-constructor": 1,
"no-inline-comments": 1,
"no-lonely-if": 1,
"no-mixed-spaces-and-tabs": 1,
"no-multiple-empty-lines": [1, {"max": 2}],
"no-nested-ternary": 1,
"no-new-object": 1,
"no-spaced-func": 1,
"no-ternary": 0,
"no-trailing-spaces": 1,
"no-extra-parens": 2,
"one-var": [1, "never"],
"operator-assignment": [1, "never"],
"padded-blocks": [1, "never"],
"quotes": [1, "single"],
"semi": [1, "always"],
"semi-spacing": [1, {"before": false, "after": true}],
"sort-vars": 0,
"space-after-keywords": [1, "always"],
"space-before-blocks": [1, "always"],
"space-before-function-paren": [1, {"anonymous": "always", "named": "never"}],
"object-curly-spacing": [2, "always"],
"array-bracket-spacing": [2, "always"],
"computed-property-spacing": [2, "never"],
"quote-props": [2, "as-needed"],
"space-in-parens": [1, "never"],
"space-infix-ops": [1, {"int32Hint": false}],
"space-return-throw-case": 1,
"space-unary-ops": [1, {"words": true, "nonwords": false}],
"spaced-comment": [2, "always"],
"wrap-regex": 0
}