UNPKG

1.37 kBPlain TextView Raw
1{
2 "root": true,
3
4 "env": {
5 "browser": true,
6 "node": true,
7 "amd": true,
8 "es6": true
9 },
10
11 "extends": "eslint:recommended",
12
13 "globals": {},
14
15 "rules": {
16 "no-console": 0,
17 "no-constant-condition": 1,
18 "no-unreachable": 1,
19
20 "complexity": [2, 10],
21 "curly": [1, "all"],
22 "eqeqeq": 1,
23 "guard-for-in": 1,
24 "no-empty-label": 2,
25 "no-floating-decimal": 2,
26 "no-iterator": 2,
27 "no-lone-blocks": 2,
28 "no-loop-func": 1,
29 "no-multi-str": 2,
30 "no-native-reassign": 2,
31 "no-octal": 2,
32 "no-octal-escape": 2,
33 "no-proto": 2,
34 "no-redeclare": 2,
35 "no-self-compare": 2,
36 "no-unused-expressions": 2,
37 "wrap-iife": [2, "any"],
38
39 "no-catch-shadow": 2,
40 "no-label-var": 2,
41 "no-shadow-restricted-names": 2,
42 "no-undef": 2,
43 "no-undef-init": 2,
44 "no-unused-vars": [1, "all"],
45 "no-use-before-define": 2,
46 "no-undefined": 2,
47
48 "camelcase": 1,
49 "new-cap": 2,
50 "no-array-constructor": 2,
51 "no-new-object": 1,
52 "no-spaced-func": 1,
53 "semi-spacing": 1,
54 "no-extra-parens": 2,
55 "semi": [1, "always"],
56 "space-return-throw-case": 2,
57 "max-nested-callbacks": [2, 8]
58 }
59}
\No newline at end of file