|
1 | 1 | {
|
2 | 2 | "ecmaFeatures": {},
|
3 | 3 | "rules": {
|
4 |
| - "no-alert": 2, |
5 |
| - "no-array-constructor": 2, |
| 4 | + "no-alert": 0, |
| 5 | + "no-array-constructor": 0, |
6 | 6 | "no-bitwise": 0,
|
7 |
| - "no-caller": 2, |
8 |
| - "no-catch-shadow": 2, |
| 7 | + "no-caller": 0, |
| 8 | + "no-catch-shadow": 0, |
9 | 9 | "no-cond-assign": 2,
|
10 | 10 | "no-console": 2,
|
11 | 11 | "no-constant-condition": 2,
|
|
21 | 21 | "no-empty": 2,
|
22 | 22 | "no-empty-class": 0,
|
23 | 23 | "no-empty-character-class": 2,
|
24 |
| - "no-empty-label": 2, |
| 24 | + "no-empty-label": 0, |
25 | 25 | "no-eq-null": 0,
|
26 |
| - "no-eval": 2, |
| 26 | + "no-eval": 0, |
27 | 27 | "no-ex-assign": 2,
|
28 |
| - "no-extend-native": 2, |
29 |
| - "no-extra-bind": 2, |
| 28 | + "no-extend-native": 0, |
| 29 | + "no-extra-bind": 0, |
30 | 30 | "no-extra-boolean-cast": 2,
|
31 | 31 | "no-extra-parens": 0,
|
32 | 32 | "no-extra-semi": 2,
|
33 |
| - "no-extra-strict": 2, |
| 33 | + "no-extra-strict": 0, |
34 | 34 | "no-fallthrough": 2,
|
35 | 35 | "no-floating-decimal": 0,
|
36 | 36 | "no-func-assign": 2,
|
37 |
| - "no-implied-eval": 2, |
| 37 | + "no-implied-eval": 0, |
38 | 38 | "no-inline-comments": 0,
|
39 | 39 | "no-inner-declarations": [2, "functions"],
|
40 | 40 | "no-invalid-regexp": 2,
|
41 | 41 | "no-irregular-whitespace": 2,
|
42 |
| - "no-iterator": 2, |
43 |
| - "no-label-var": 2, |
44 |
| - "no-labels": 2, |
45 |
| - "no-lone-blocks": 2, |
| 42 | + "no-iterator": 0, |
| 43 | + "no-label-var": 0, |
| 44 | + "no-labels": 0, |
| 45 | + "no-lone-blocks": 0, |
46 | 46 | "no-lonely-if": 0,
|
47 |
| - "no-loop-func": 2, |
| 47 | + "no-loop-func": 0, |
48 | 48 | "no-mixed-requires": [0, false],
|
49 | 49 | "no-mixed-spaces-and-tabs": [2, false],
|
50 | 50 | "linebreak-style": [0, "unix"],
|
51 |
| - "no-multi-spaces": 2, |
52 |
| - "no-multi-str": 2, |
| 51 | + "no-multi-spaces": 0, |
| 52 | + "no-multi-str": 0, |
53 | 53 | "no-multiple-empty-lines": [0, {"max": 2}],
|
54 |
| - "no-native-reassign": 2, |
| 54 | + "no-native-reassign": 0, |
55 | 55 | "no-negated-in-lhs": 2,
|
56 | 56 | "no-nested-ternary": 0,
|
57 |
| - "no-new": 2, |
58 |
| - "no-new-func": 2, |
59 |
| - "no-new-object": 2, |
| 57 | + "no-new": 0, |
| 58 | + "no-new-func": 0, |
| 59 | + "no-new-object": 0, |
60 | 60 | "no-new-require": 0,
|
61 |
| - "no-new-wrappers": 2, |
| 61 | + "no-new-wrappers": 0, |
62 | 62 | "no-obj-calls": 2,
|
63 | 63 | "no-octal": 2,
|
64 |
| - "no-octal-escape": 2, |
| 64 | + "no-octal-escape": 0, |
65 | 65 | "no-param-reassign": 0,
|
66 | 66 | "no-path-concat": 0,
|
67 | 67 | "no-plusplus": 0,
|
68 | 68 | "no-process-env": 0,
|
69 |
| - "no-process-exit": 2, |
70 |
| - "no-proto": 2, |
| 69 | + "no-process-exit": 0, |
| 70 | + "no-proto": 0, |
71 | 71 | "no-redeclare": 2,
|
72 | 72 | "no-regex-spaces": 2,
|
73 | 73 | "no-reserved-keys": 0,
|
74 | 74 | "no-restricted-modules": 0,
|
75 |
| - "no-return-assign": 2, |
76 |
| - "no-script-url": 2, |
| 75 | + "no-return-assign": 0, |
| 76 | + "no-script-url": 0, |
77 | 77 | "no-self-compare": 0,
|
78 |
| - "no-sequences": 2, |
79 |
| - "no-shadow": 2, |
80 |
| - "no-shadow-restricted-names": 2, |
| 78 | + "no-sequences": 0, |
| 79 | + "no-shadow": 0, |
| 80 | + "no-shadow-restricted-names": 0, |
81 | 81 | "no-space-before-semi": 0,
|
82 |
| - "no-spaced-func": 2, |
| 82 | + "no-spaced-func": 0, |
83 | 83 | "no-sparse-arrays": 2,
|
84 | 84 | "no-sync": 0,
|
85 | 85 | "no-ternary": 0,
|
86 |
| - "no-trailing-spaces": 2, |
| 86 | + "no-trailing-spaces": 0, |
87 | 87 | "no-this-before-super": 0,
|
88 | 88 | "no-throw-literal": 0,
|
89 | 89 | "no-undef": 2,
|
90 |
| - "no-undef-init": 2, |
| 90 | + "no-undef-init": 0, |
91 | 91 | "no-undefined": 0,
|
92 | 92 | "no-unexpected-multiline": 0,
|
93 |
| - "no-underscore-dangle": 2, |
| 93 | + "no-underscore-dangle": 0, |
94 | 94 | "no-unneeded-ternary": 0,
|
95 | 95 | "no-unreachable": 2,
|
96 |
| - "no-unused-expressions": 2, |
| 96 | + "no-unused-expressions": 0, |
97 | 97 | "no-unused-vars": [2, {"vars": "all", "args": "after-used"}],
|
98 |
| - "no-use-before-define": 2, |
| 98 | + "no-use-before-define": 0, |
99 | 99 | "no-useless-call": 0,
|
100 | 100 | "no-void": 0,
|
101 | 101 | "no-var": 0,
|
102 | 102 | "no-warning-comments": [0, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
|
103 |
| - "no-with": 2, |
104 |
| - "no-wrap-func": 2, |
| 103 | + "no-with": 0, |
| 104 | + "no-wrap-func": 0, |
105 | 105 |
|
106 | 106 | "array-bracket-spacing": [0, "never"],
|
107 | 107 | "arrow-parens": 0,
|
|
110 | 110 | "block-scoped-var": 0,
|
111 | 111 | "brace-style": [0, "1tbs"],
|
112 | 112 | "callback-return": 0,
|
113 |
| - "camelcase": 2, |
| 113 | + "camelcase": 0, |
114 | 114 | "comma-dangle": [2, "never"],
|
115 |
| - "comma-spacing": 2, |
| 115 | + "comma-spacing": 0, |
116 | 116 | "comma-style": 0,
|
117 | 117 | "complexity": [0, 11],
|
118 | 118 | "computed-property-spacing": [0, "never"],
|
119 |
| - "consistent-return": 2, |
| 119 | + "consistent-return": 0, |
120 | 120 | "consistent-this": [0, "that"],
|
121 | 121 | "constructor-super": 0,
|
122 |
| - "curly": [2, "all"], |
| 122 | + "curly": [0, "all"], |
123 | 123 | "default-case": 0,
|
124 | 124 | "dot-location": 0,
|
125 |
| - "dot-notation": [2, { "allowKeywords": true }], |
126 |
| - "eol-last": 2, |
127 |
| - "eqeqeq": 2, |
| 125 | + "dot-notation": [0, { "allowKeywords": true }], |
| 126 | + "eol-last": 0, |
| 127 | + "eqeqeq": 0, |
128 | 128 | "func-names": 0,
|
129 | 129 | "func-style": [0, "declaration"],
|
130 | 130 | "generator-star": 0,
|
131 | 131 | "generator-star-spacing": 0,
|
132 |
| - "global-strict": [2, "never"], |
| 132 | + "global-strict": [0, "never"], |
133 | 133 | "guard-for-in": 0,
|
134 | 134 | "handle-callback-err": 0,
|
135 | 135 | "indent": 0,
|
136 | 136 | "init-declarations": 0,
|
137 |
| - "key-spacing": [2, { "beforeColon": false, "afterColon": true }], |
| 137 | + "key-spacing": [0, { "beforeColon": false, "afterColon": true }], |
138 | 138 | "lines-around-comment": 0,
|
139 | 139 | "max-depth": [0, 4],
|
140 | 140 | "max-len": [0, 80, 4],
|
141 | 141 | "max-nested-callbacks": [0, 2],
|
142 | 142 | "max-params": [0, 3],
|
143 | 143 | "max-statements": [0, 10],
|
144 |
| - "new-cap": 2, |
145 |
| - "new-parens": 2, |
| 144 | + "new-cap": 0, |
| 145 | + "new-parens": 0, |
146 | 146 | "newline-after-var": 0,
|
147 | 147 | "object-curly-spacing": [0, "never"],
|
148 | 148 | "object-shorthand": 0,
|
|
153 | 153 | "prefer-const": 0,
|
154 | 154 | "prefer-spread": 0,
|
155 | 155 | "quote-props": 0,
|
156 |
| - "quotes": [2, "double"], |
| 156 | + "quotes": [0, "double"], |
157 | 157 | "radix": 0,
|
158 | 158 | "require-yield": 0,
|
159 |
| - "semi": 2, |
160 |
| - "semi-spacing": [2, {"before": false, "after": true}], |
| 159 | + "semi": 0, |
| 160 | + "semi-spacing": [0, {"before": false, "after": true}], |
161 | 161 | "sort-vars": 0,
|
162 | 162 | "space-after-function-name": [0, "never"],
|
163 | 163 | "space-after-keywords": [0, "always"],
|
|
166 | 166 | "space-before-function-parentheses": [0, "always"],
|
167 | 167 | "space-in-brackets": [0, "never"],
|
168 | 168 | "space-in-parens": [0, "never"],
|
169 |
| - "space-infix-ops": 2, |
170 |
| - "space-return-throw-case": 2, |
171 |
| - "space-unary-ops": [2, { "words": true, "nonwords": false }], |
| 169 | + "space-infix-ops": 0, |
| 170 | + "space-return-throw-case": 0, |
| 171 | + "space-unary-ops": [0, { "words": true, "nonwords": false }], |
172 | 172 | "spaced-comment": 0,
|
173 | 173 | "spaced-line-comment": [0, "always"],
|
174 |
| - "strict": 2, |
| 174 | + "strict": 0, |
175 | 175 | "use-isnan": 2,
|
176 | 176 | "valid-jsdoc": 0,
|
177 | 177 | "valid-typeof": 2,
|
178 | 178 | "vars-on-top": 0,
|
179 | 179 | "wrap-iife": 0,
|
180 | 180 | "wrap-regex": 0,
|
181 |
| - "yoda": [2, "never"] |
| 181 | + "yoda": [0, "never"] |
182 | 182 | }
|
183 | 183 | }
|
0 commit comments