UNPKG

1.59 kBPlain TextView Raw
1{
2 "parser": "babel-eslint",
3 "env": {
4 "browser": true,
5 "es6": true,
6 "mocha": true,
7 "node": true
8 },
9 "ecmaFeatures": {
10 "modules": true
11 },
12 "rules": {
13 "brace-style": [ 1, "1tbs" ],
14 "camelcase": 0,
15 "comma-dangle": 0,
16 "comma-spacing": 1,
17 "consistent-return": 0,
18 "dot-notation": 1,
19 "eqeqeq": [ 2, "allow-null" ],
20 "eol-last": 1,
21 "indent": [ 1, "tab", { "SwitchCase": 1 } ],
22 "key-spacing": 1,
23 "new-cap": 1,
24 "no-cond-assign": 2,
25 "no-else-return": 1,
26 "no-empty": 1,
27 "no-fallthrough": 0,
28 "no-lonely-if": 1,
29 "no-mixed-requires": 0,
30 "no-mixed-spaces-and-tabs": 1,
31 "no-multiple-empty-lines": [ 1, { max: 1 } ],
32 "no-multi-spaces": 1,
33 "no-nested-ternary": 1,
34 "no-new": 1,
35 "no-process-exit": 1,
36 "no-shadow": 1,
37 "no-spaced-func": 1,
38 "no-trailing-spaces": 1,
39 "no-undef": 1,
40 "no-underscore-dangle": 0,
41 "no-unused-expressions": 0,
42 "no-unused-vars": 1,
43 "no-use-before-define": [ 2, "nofunc" ],
44 "one-var": 0,
45 "operator-linebreak": [ 1, "after", { "overrides": {
46 "?": "before",
47 ":": "before"
48 } } ],
49 "padded-blocks": [ 1, "never" ],
50 "quote-props": [ 1, "as-needed" ],
51 "quotes": [ 1, "single", "avoid-escape" ],
52 "semi-spacing": 1,
53 "space-after-keywords": [ 1, "always" ],
54 "space-before-blocks": [ 1, "always" ],
55 "space-before-function-paren": [ 1, "never" ],
56 "space-in-brackets": 0,
57 "space-in-parens": [ 1, "always" ],
58 "space-infix-ops": [ 1, { "int32Hint": false } ],
59 "space-unary-ops": 0,
60 "strict": [ 2, "never" ],
61 "valid-jsdoc": [ 1, { "requireReturn": false } ],
62 "vars-on-top": 1,
63 "yoda": 0
64 }
65}