UNPKG

9.03 kBJavaScriptView Raw
1/**
2 * @fileoverview Configuration applied when a user configuration extends from
3 * eslint:recommended.
4 * @author Nicholas C. Zakas
5 */
6
7"use strict";
8
9/* eslint sort-keys: ["error", "asc"], quote-props: ["error", "consistent"] */
10/* eslint-disable sort-keys */
11
12module.exports = {
13 rules: {
14
15 /* eslint-enable sort-keys */
16 "accessor-pairs": "off",
17 "array-bracket-newline": "off",
18 "array-bracket-spacing": "off",
19 "array-callback-return": "off",
20 "arrow-body-style": "off",
21 "arrow-parens": "off",
22 "arrow-spacing": "off",
23 "block-scoped-var": "off",
24 "block-spacing": "off",
25 "brace-style": "off",
26 "callback-return": "off",
27 "camelcase": "off",
28 "capitalized-comments": "off",
29 "class-methods-use-this": "off",
30 "comma-dangle": "off",
31 "comma-spacing": "off",
32 "comma-style": "off",
33 "complexity": "off",
34 "computed-property-spacing": "off",
35 "consistent-return": "off",
36 "consistent-this": "off",
37 "constructor-super": "error",
38 "curly": "off",
39 "default-case": "off",
40 "dot-location": "off",
41 "dot-notation": "off",
42 "eol-last": "off",
43 "eqeqeq": "off",
44 "for-direction": "off",
45 "func-call-spacing": "off",
46 "func-name-matching": "off",
47 "func-names": "off",
48 "func-style": "off",
49 "generator-star-spacing": "off",
50 "global-require": "off",
51 "guard-for-in": "off",
52 "handle-callback-err": "off",
53 "id-blacklist": "off",
54 "id-length": "off",
55 "id-match": "off",
56 "indent": "off",
57 "indent-legacy": "off",
58 "init-declarations": "off",
59 "jsx-quotes": "off",
60 "key-spacing": "off",
61 "keyword-spacing": "off",
62 "line-comment-position": "off",
63 "linebreak-style": "off",
64 "lines-around-comment": "off",
65 "lines-around-directive": "off",
66 "max-depth": "off",
67 "max-len": "off",
68 "max-lines": "off",
69 "max-nested-callbacks": "off",
70 "max-params": "off",
71 "max-statements": "off",
72 "max-statements-per-line": "off",
73 "multiline-ternary": "off",
74 "new-cap": "off",
75 "new-parens": "off",
76 "newline-after-var": "off",
77 "newline-before-return": "off",
78 "newline-per-chained-call": "off",
79 "no-alert": "off",
80 "no-array-constructor": "off",
81 "no-await-in-loop": "off",
82 "no-bitwise": "off",
83 "no-buffer-constructor": "off",
84 "no-caller": "off",
85 "no-case-declarations": "error",
86 "no-catch-shadow": "off",
87 "no-class-assign": "error",
88 "no-compare-neg-zero": "error",
89 "no-cond-assign": "error",
90 "no-confusing-arrow": "off",
91 "no-console": "error",
92 "no-const-assign": "error",
93 "no-constant-condition": "error",
94 "no-continue": "off",
95 "no-control-regex": "error",
96 "no-debugger": "error",
97 "no-delete-var": "error",
98 "no-div-regex": "off",
99 "no-dupe-args": "error",
100 "no-dupe-class-members": "error",
101 "no-dupe-keys": "error",
102 "no-duplicate-case": "error",
103 "no-duplicate-imports": "off",
104 "no-else-return": "off",
105 "no-empty": "error",
106 "no-empty-character-class": "error",
107 "no-empty-function": "off",
108 "no-empty-pattern": "error",
109 "no-eq-null": "off",
110 "no-eval": "off",
111 "no-ex-assign": "error",
112 "no-extend-native": "off",
113 "no-extra-bind": "off",
114 "no-extra-boolean-cast": "error",
115 "no-extra-label": "off",
116 "no-extra-parens": "off",
117 "no-extra-semi": "error",
118 "no-fallthrough": "error",
119 "no-floating-decimal": "off",
120 "no-func-assign": "error",
121 "no-global-assign": "error",
122 "no-implicit-coercion": "off",
123 "no-implicit-globals": "off",
124 "no-implied-eval": "off",
125 "no-inline-comments": "off",
126 "no-inner-declarations": "error",
127 "no-invalid-regexp": "error",
128 "no-invalid-this": "off",
129 "no-irregular-whitespace": "error",
130 "no-iterator": "off",
131 "no-label-var": "off",
132 "no-labels": "off",
133 "no-lone-blocks": "off",
134 "no-lonely-if": "off",
135 "no-loop-func": "off",
136 "no-magic-numbers": "off",
137 "no-mixed-operators": "off",
138 "no-mixed-requires": "off",
139 "no-mixed-spaces-and-tabs": "error",
140 "no-multi-assign": "off",
141 "no-multi-spaces": "off",
142 "no-multi-str": "off",
143 "no-multiple-empty-lines": "off",
144 "no-native-reassign": "off",
145 "no-negated-condition": "off",
146 "no-negated-in-lhs": "off",
147 "no-nested-ternary": "off",
148 "no-new": "off",
149 "no-new-func": "off",
150 "no-new-object": "off",
151 "no-new-require": "off",
152 "no-new-symbol": "error",
153 "no-new-wrappers": "off",
154 "no-obj-calls": "error",
155 "no-octal": "error",
156 "no-octal-escape": "off",
157 "no-param-reassign": "off",
158 "no-path-concat": "off",
159 "no-plusplus": "off",
160 "no-process-env": "off",
161 "no-process-exit": "off",
162 "no-proto": "off",
163 "no-prototype-builtins": "off",
164 "no-redeclare": "error",
165 "no-regex-spaces": "error",
166 "no-restricted-globals": "off",
167 "no-restricted-imports": "off",
168 "no-restricted-modules": "off",
169 "no-restricted-properties": "off",
170 "no-restricted-syntax": "off",
171 "no-return-assign": "off",
172 "no-return-await": "off",
173 "no-script-url": "off",
174 "no-self-assign": "error",
175 "no-self-compare": "off",
176 "no-sequences": "off",
177 "no-shadow": "off",
178 "no-shadow-restricted-names": "off",
179 "no-spaced-func": "off",
180 "no-sparse-arrays": "error",
181 "no-sync": "off",
182 "no-tabs": "off",
183 "no-template-curly-in-string": "off",
184 "no-ternary": "off",
185 "no-this-before-super": "error",
186 "no-throw-literal": "off",
187 "no-trailing-spaces": "off",
188 "no-undef": "error",
189 "no-undef-init": "off",
190 "no-undefined": "off",
191 "no-underscore-dangle": "off",
192 "no-unexpected-multiline": "error",
193 "no-unmodified-loop-condition": "off",
194 "no-unneeded-ternary": "off",
195 "no-unreachable": "error",
196 "no-unsafe-finally": "error",
197 "no-unsafe-negation": "error",
198 "no-unused-expressions": "off",
199 "no-unused-labels": "error",
200 "no-unused-vars": "error",
201 "no-use-before-define": "off",
202 "no-useless-call": "off",
203 "no-useless-computed-key": "off",
204 "no-useless-concat": "off",
205 "no-useless-constructor": "off",
206 "no-useless-escape": "error",
207 "no-useless-rename": "off",
208 "no-useless-return": "off",
209 "no-var": "off",
210 "no-void": "off",
211 "no-warning-comments": "off",
212 "no-whitespace-before-property": "off",
213 "no-with": "off",
214 "nonblock-statement-body-position": "off",
215 "object-curly-newline": "off",
216 "object-curly-spacing": "off",
217 "object-property-newline": "off",
218 "object-shorthand": "off",
219 "one-var": "off",
220 "one-var-declaration-per-line": "off",
221 "operator-assignment": "off",
222 "operator-linebreak": "off",
223 "padded-blocks": "off",
224 "padding-line-between-statements": "off",
225 "prefer-arrow-callback": "off",
226 "prefer-const": "off",
227 "prefer-destructuring": "off",
228 "prefer-numeric-literals": "off",
229 "prefer-promise-reject-errors": "off",
230 "prefer-reflect": "off",
231 "prefer-rest-params": "off",
232 "prefer-spread": "off",
233 "prefer-template": "off",
234 "quote-props": "off",
235 "quotes": "off",
236 "radix": "off",
237 "require-await": "off",
238 "require-jsdoc": "off",
239 "require-yield": "error",
240 "rest-spread-spacing": "off",
241 "semi": "off",
242 "semi-spacing": "off",
243 "semi-style": "off",
244 "sort-imports": "off",
245 "sort-keys": "off",
246 "sort-vars": "off",
247 "space-before-blocks": "off",
248 "space-before-function-paren": "off",
249 "space-in-parens": "off",
250 "space-infix-ops": "off",
251 "space-unary-ops": "off",
252 "spaced-comment": "off",
253 "strict": "off",
254 "switch-colon-spacing": "off",
255 "symbol-description": "off",
256 "template-curly-spacing": "off",
257 "template-tag-spacing": "off",
258 "unicode-bom": "off",
259 "use-isnan": "error",
260 "valid-jsdoc": "off",
261 "valid-typeof": "error",
262 "vars-on-top": "off",
263 "wrap-iife": "off",
264 "wrap-regex": "off",
265 "yield-star-spacing": "off",
266 "yoda": "off"
267 }
268};