UNPKG

1.71 kBPlain TextView Raw
1{
2 "root": true,
3
4 "env": {
5 "browser": true
6 },
7
8 "globals": {
9 "module": true,
10 "require": true
11 },
12
13 "rules": {
14 "global-strict": 0,
15 "no-extra-parens": 0,
16 "no-reserved-keys": 0,
17
18 "block-scoped-var": 2,
19 "complexity": [2, 10],
20 "default-case": 2,
21 "dot-location": [2, "property"],
22 "guard-for-in": 2,
23 "no-div-regex": 2,
24 "no-else-return": 2,
25 "no-eq-null": 2,
26 "no-floating-decimal": 2,
27 "no-self-compare": 2,
28 "no-throw-literal": 2,
29 "no-void": 2,
30 "no-warning-comments": [1],
31 "radix": 2,
32 "wrap-iife": [2, "inside"],
33
34 "strict": [2, "global"],
35
36 "no-undefined": 2,
37 "no-use-before-define": [2, "nofunc"],
38
39 "indent": [2, 2],
40 "array-bracket-spacing": [2, "never"],
41 "brace-style": [2, "1tbs", { "allowSingleLine": true }],
42 "comma-style": [2, "last"],
43 "computed-property-spacing": [2, "never"],
44 "consistent-this": [2, "self"],
45 "func-names": 0,
46 "key-spacing": [2, { "beforeColon": false, "afterColon": true }],
47 "linebreak-style": [2, "unix"],
48 "max-nested-callbacks": [2, 5],
49 "new-cap": [2, { "capIsNew": false }],
50 "no-multiple-empty-lines": [2, {"max": 2}],
51 "no-nested-ternary": 2,
52 "no-unneeded-ternary": 2,
53 "object-curly-spacing": [2, "never"],
54 "operator-linebreak": [2, "after"],
55 "padded-blocks": [2, "never"],
56 "quote-props": [2, "as-needed"],
57 "quotes": [2, "double", "avoid-escape"],
58 "space-after-keywords": [2, "always"],
59 "space-before-blocks": [2, "always"],
60 "space-before-function-paren": [2, "never"],
61 "space-in-parens": [2, "never"],
62 "space-unary-ops": 2,
63 "spaced-comment": [2, "always"],
64 "wrap-regex": 2
65 }
66}