1 | {
|
2 | "rules": {
|
3 | "consistent-return": 0,
|
4 | "curly": 2,
|
5 | "dot-notation": 2,
|
6 | "eqeqeq": 2,
|
7 | "guard-for-in": 2,
|
8 | "indent": [2, 2, {"SwitchCase": 1}],
|
9 | "linebreak-style": [2, "unix"],
|
10 | "new-cap": 1,
|
11 | "no-caller": 2,
|
12 | "no-catch-shadow": 2,
|
13 | "no-console": 2,
|
14 | "no-else-return": 2,
|
15 | "no-extend-native": 2,
|
16 | "no-extra-bind": 2,
|
17 | "no-eval": 2,
|
18 | "no-implicit-coercion": 2,
|
19 | "no-implied-eval": 2,
|
20 | "no-invalid-this": 2,
|
21 | "no-irregular-whitespace": 2,
|
22 | "no-labels": 2,
|
23 | "no-lone-blocks": 2,
|
24 | "no-lonely-if": 1,
|
25 | "no-loop-func": 2,
|
26 | "no-multi-spaces": 1,
|
27 | "no-multiple-empty-lines": 1,
|
28 | "no-native-reassign": 2,
|
29 | "no-nested-ternary": 2,
|
30 | "no-new": 2,
|
31 | "no-new-func": 2,
|
32 | "no-new-require": 2,
|
33 | "no-new-wrappers": 2,
|
34 | "no-return-assign": 2,
|
35 | "no-self-compare": 2,
|
36 | "no-sequences": 2,
|
37 | "no-shadow": 2,
|
38 | "no-shadow-restricted-names": 2,
|
39 | "no-throw-literal": 2,
|
40 | "no-undef": 0,
|
41 | "no-undef-init": 1,
|
42 | "no-unreachable": 2,
|
43 | "no-unused-expressions": [2, {"allowShortCircuit": true}],
|
44 | "no-useless-call": 2,
|
45 | "no-with": 2,
|
46 | "quotes": [2, "single"],
|
47 | "semi": [2, "always"],
|
48 | "keyword-spacing": 2,
|
49 | "space-before-blocks": 2,
|
50 | "space-in-parens": [0, "never"],
|
51 | "vars-on-top": 2,
|
52 | "yoda": [2, "never"]
|
53 | },
|
54 | "parserOptions": {
|
55 | "ecmaVersion": 2018
|
56 | },
|
57 | "extends": "eslint:recommended"
|
58 | }
|