forked from FallenTech/adwords-api
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.json
74 lines (74 loc) · 2.4 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
70
71
72
73
74
{
"rules": {
"dot-notation": 2,
"eqeqeq": [2, "smart"],
"no-caller": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-multi-spaces": 2,
"no-return-assign": 2,
"no-script-url": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-throw-literal": 2,
"no-with": 2,
"radix": [2, "as-needed"],
"wrap-iife": [2, "outside"],
"yoda": 2,
"no-confusing-arrow": ["error", {"allowParens": true}],
"no-constant-condition": ["error", {"checkLoops": false}],
"no-extra-bind": 2,
"no-shadow-restricted-names": 2,
"array-bracket-spacing": [2, "never"],
"block-spacing": [2, "always"],
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
"camelcase": [2, {"properties": "never"}],
"comma-spacing": [2, {"before": false, "after": true}],
"comma-style": [2, "last"],
"computed-property-spacing": [2, "never"],
"consistent-this": [2, "self"],
"id-length": [2, {"min": 1, "max": 40, "properties": "never"}],
"indent": [2, 2, {"SwitchCase": 1, "VariableDeclarator": {"var": 2, "let": 2, "const": 2}}],
"linebreak-style": [2, "unix"],
"lines-around-comment": [2, {
"beforeBlockComment": true,
"beforeLineComment": true,
"allowBlockStart": true,
"allowBlockEnd": true,
"allowObjectStart": true,
"allowObjectEnd": true,
"allowArrayStart": true,
"allowArrayEnd": true
}
],
"new-parens": 2,
"no-array-constructor": 2,
"no-lonely-if": 2,
"no-mixed-spaces-and-tabs": 2,
"no-spaced-func": 2,
"no-trailing-spaces": [2, {"skipBlankLines": true}],
"use-isnan": 2,
"no-unneeded-ternary": [2, {"defaultAssignment": false}],
"operator-assignment": [2, "always"],
"quote-props": [2, "as-needed"],
"quotes": [2, "single", "avoid-escape"],
"semi-spacing": [2, {"before": false, "after": true}],
"semi": [2, "always"],
"keyword-spacing": ["error", {"before": true, "after": true}],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, "never"],
"space-infix-ops": [2, {"int32Hint": false}],
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"spaced-comment": [2, "always"],
"wrap-regex": 2,
"constructor-super": 2,
"no-const-assign": 2,
"no-dupe-class-members": 2,
"no-this-before-super": 2,
"prefer-spread": 2
},
"env": {
"node": true,
"mocha": true
}
}