Skip to content

Commit e9be6e4

Browse files
committed
Merge branch 'fix_eslint'
2 parents ace7de6 + 7b56930 commit e9be6e4

File tree

1 file changed

+58
-1
lines changed

1 file changed

+58
-1
lines changed

.eslintrc

+58-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,62 @@
2121
"globals": {
2222
"it": true,
2323
"describe": true,
24-
}
24+
},
25+
"rules": {
26+
"no-alert": 2,
27+
"no-array-constructor": 2,
28+
"no-caller": 2,
29+
"no-catch-shadow": 2,
30+
"no-empty-label": 2,
31+
"no-eval": 2,
32+
"no-extend-native": 2,
33+
"no-extra-bind": 2,
34+
"no-implied-eval": 2,
35+
"no-iterator": 2,
36+
"no-label-var": 2,
37+
"no-labels": 2,
38+
"no-lone-blocks": 2,
39+
"no-loop-func": 2,
40+
"no-multi-spaces": 2,
41+
"no-multi-str": 2,
42+
"no-native-reassign": 2,
43+
"no-new": 2,
44+
"no-new-func": 2,
45+
"no-new-object": 2,
46+
"no-new-wrappers": 2,
47+
"no-octal-escape": 2,
48+
"no-process-exit": 2,
49+
"no-proto": 2,
50+
"no-return-assign": 2,
51+
"no-script-url": 2,
52+
"no-sequences": 2,
53+
"no-shadow": 2,
54+
"no-shadow-restricted-names": 2,
55+
"no-spaced-func": 2,
56+
"no-trailing-spaces": 2,
57+
"no-undef-init": 2,
58+
"no-underscore-dangle": 2,
59+
"no-unused-expressions": 2,
60+
"no-use-before-define": 2,
61+
"no-with": 2,
62+
"camelcase": 2,
63+
"comma-spacing": 2,
64+
"consistent-return": 2,
65+
"curly": [2, "all"],
66+
"dot-notation": [2, { "allowKeywords": true }],
67+
"eol-last": 2,
68+
"no-extra-parens": [2, "functions"],
69+
"eqeqeq": 2,
70+
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
71+
"new-cap": 2,
72+
"new-parens": 2,
73+
"quotes": [2, "double"],
74+
"semi": 2,
75+
"semi-spacing": [2, {"before": false, "after": true}],
76+
"space-infix-ops": 2,
77+
"space-return-throw-case": 2,
78+
"space-unary-ops": [2, { "words": true, "nonwords": false }],
79+
"strict": [2, "function"],
80+
"yoda": [2, "never"]
81+
}
2582
}

0 commit comments

Comments
 (0)