@eslinted/defaults 10.1.0 → 10.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/.markdownlint.jsonc +1 -1
  2. package/LICENSE +0 -1
  3. package/dist/rules/index.d.ts +1 -0
  4. package/dist/rules/index.d.ts.map +1 -1
  5. package/dist/rules/scopes/css/enable.js +7 -7
  6. package/dist/rules/scopes/css/enable.js.map +1 -1
  7. package/dist/rules/scopes/html/enable.js +35 -35
  8. package/dist/rules/scopes/html/enable.js.map +1 -1
  9. package/dist/rules/scopes/js/enable-stylistic.d.ts +1 -0
  10. package/dist/rules/scopes/js/enable-stylistic.d.ts.map +1 -1
  11. package/dist/rules/scopes/js/enable-stylistic.js +71 -67
  12. package/dist/rules/scopes/js/enable-stylistic.js.map +1 -1
  13. package/dist/rules/scopes/js/enable.js +148 -148
  14. package/dist/rules/scopes/js/enable.js.map +1 -1
  15. package/dist/rules/scopes/js/index.d.ts +1 -0
  16. package/dist/rules/scopes/js/index.d.ts.map +1 -1
  17. package/dist/rules/scopes/json/enable-ext.js +21 -21
  18. package/dist/rules/scopes/json/enable-ext.js.map +1 -1
  19. package/dist/rules/scopes/json/enable.js +20 -20
  20. package/dist/rules/scopes/json/enable.js.map +1 -1
  21. package/dist/rules/scopes/jsonc/override.js +2 -2
  22. package/dist/rules/scopes/jsonc/override.js.map +1 -1
  23. package/dist/rules/scopes/mocha/enable-chai-expect.js +4 -4
  24. package/dist/rules/scopes/mocha/enable-chai-expect.js.map +1 -1
  25. package/dist/rules/scopes/mocha/enable-chai.js +2 -2
  26. package/dist/rules/scopes/mocha/enable-chai.js.map +1 -1
  27. package/dist/rules/scopes/mocha/enable.js +18 -18
  28. package/dist/rules/scopes/mocha/enable.js.map +1 -1
  29. package/dist/rules/scopes/svelte/enable-ext.js +3 -3
  30. package/dist/rules/scopes/svelte/enable-ext.js.map +1 -1
  31. package/dist/rules/scopes/svelte/enable.js +63 -63
  32. package/dist/rules/scopes/svelte/enable.js.map +1 -1
  33. package/dist/rules/scopes/ts/enable-ext.js +16 -16
  34. package/dist/rules/scopes/ts/enable-ext.js.map +1 -1
  35. package/dist/rules/scopes/ts/enable.js +89 -89
  36. package/dist/rules/scopes/ts/enable.js.map +1 -1
  37. package/dist/rules/scopes/yml/enable-ext.js +9 -9
  38. package/dist/rules/scopes/yml/enable-ext.js.map +1 -1
  39. package/dist/rules/scopes/yml/enable.js +17 -17
  40. package/dist/rules/scopes/yml/enable.js.map +1 -1
  41. package/dist/rules/strings/state.d.ts +1 -1
  42. package/dist/rules/strings/state.d.ts.map +1 -1
  43. package/dist/rules/strings/state.js +1 -1
  44. package/dist/rules/strings/state.js.map +1 -1
  45. package/package.json +2 -2
  46. package/src/rules/scopes/css/enable.ts +7 -7
  47. package/src/rules/scopes/html/enable.ts +35 -35
  48. package/src/rules/scopes/js/enable-stylistic.ts +71 -67
  49. package/src/rules/scopes/js/enable.ts +148 -148
  50. package/src/rules/scopes/json/enable-ext.ts +21 -21
  51. package/src/rules/scopes/json/enable.ts +20 -20
  52. package/src/rules/scopes/jsonc/override.ts +2 -2
  53. package/src/rules/scopes/mocha/enable-chai-expect.ts +4 -4
  54. package/src/rules/scopes/mocha/enable-chai.ts +2 -2
  55. package/src/rules/scopes/mocha/enable.ts +18 -18
  56. package/src/rules/scopes/svelte/enable-ext.ts +3 -3
  57. package/src/rules/scopes/svelte/enable.ts +63 -63
  58. package/src/rules/scopes/ts/enable-ext.ts +16 -16
  59. package/src/rules/scopes/ts/enable.ts +89 -89
  60. package/src/rules/scopes/yml/enable-ext.ts +9 -9
  61. package/src/rules/scopes/yml/enable.ts +17 -17
  62. package/src/rules/strings/state.ts +1 -1
  63. package/tsconfig.json +22 -35
@@ -1,80 +1,80 @@
1
- import { ID, ERROR, OFF, never, always, as_needed, consecutive, allow, all, multi, both, } from "../../strings/index.js";
1
+ import { ID, ON, OFF, never, always, as_needed, consecutive, allow, all, multi, both, } from "../../strings/index.js";
2
2
  export const Enable = {
3
3
  id: ID.Enable,
4
4
  rules: {
5
5
  "array-callback-return": [
6
- ERROR,
6
+ ON,
7
7
  {
8
8
  allowImplicit: false,
9
9
  checkForEach: true,
10
10
  allowVoid: true,
11
11
  },
12
12
  ],
13
- "constructor-super": ERROR,
14
- "for-direction": ERROR,
13
+ "constructor-super": ON,
14
+ "for-direction": ON,
15
15
  "getter-return": [
16
- ERROR,
16
+ ON,
17
17
  {
18
18
  allowImplicit: false,
19
19
  },
20
20
  ],
21
- "no-async-promise-executor": ERROR,
22
- "no-await-in-loop": ERROR,
23
- "no-class-assign": ERROR,
24
- "no-compare-neg-zero": ERROR,
21
+ "no-async-promise-executor": ON,
22
+ "no-await-in-loop": ON,
23
+ "no-class-assign": ON,
24
+ "no-compare-neg-zero": ON,
25
25
  "no-cond-assign": [
26
- ERROR,
26
+ ON,
27
27
  always,
28
28
  ],
29
- "no-const-assign": ERROR,
30
- "no-constant-binary-expression": ERROR,
29
+ "no-const-assign": ON,
30
+ "no-constant-binary-expression": ON,
31
31
  "no-constant-condition": [
32
- ERROR,
32
+ ON,
33
33
  {
34
34
  checkLoops: true,
35
35
  },
36
36
  ],
37
- "no-constructor-return": ERROR,
38
- "no-control-regex": ERROR,
39
- "no-debugger": ERROR,
40
- "no-dupe-args": ERROR,
41
- "no-dupe-class-members": ERROR,
42
- "no-dupe-else-if": ERROR,
43
- "no-dupe-keys": ERROR,
44
- "no-duplicate-case": ERROR,
37
+ "no-constructor-return": ON,
38
+ "no-control-regex": ON,
39
+ "no-debugger": ON,
40
+ "no-dupe-args": ON,
41
+ "no-dupe-class-members": ON,
42
+ "no-dupe-else-if": ON,
43
+ "no-dupe-keys": ON,
44
+ "no-duplicate-case": ON,
45
45
  "no-duplicate-imports": OFF,
46
- "no-empty-character-class": ERROR,
46
+ "no-empty-character-class": ON,
47
47
  "no-empty-pattern": [
48
- ERROR,
48
+ ON,
49
49
  {
50
50
  allowObjectPatternsAsParameters: false,
51
51
  },
52
52
  ],
53
- "no-ex-assign": ERROR,
53
+ "no-ex-assign": ON,
54
54
  "no-fallthrough": [
55
- ERROR,
55
+ ON,
56
56
  {
57
57
  allowEmptyCase: true,
58
58
  reportUnusedFallthroughComment: true,
59
59
  },
60
60
  ],
61
- "no-func-assign": ERROR,
62
- "no-import-assign": ERROR,
61
+ "no-func-assign": ON,
62
+ "no-import-assign": ON,
63
63
  "no-inner-declarations": [
64
- ERROR,
64
+ ON,
65
65
  both,
66
66
  {
67
67
  blockScopedFunctions: allow,
68
68
  },
69
69
  ],
70
70
  "no-invalid-regexp": [
71
- ERROR,
71
+ ON,
72
72
  {
73
73
  allowConstructorFlags: [],
74
74
  },
75
75
  ],
76
76
  "no-irregular-whitespace": [
77
- ERROR,
77
+ ON,
78
78
  {
79
79
  skipStrings: true,
80
80
  skipComments: true,
@@ -83,54 +83,54 @@ export const Enable = {
83
83
  skipJSXText: true,
84
84
  },
85
85
  ],
86
- "no-loss-of-precision": ERROR,
87
- "no-misleading-character-class": ERROR,
88
- "no-new-native-nonconstructor": ERROR,
89
- "no-obj-calls": ERROR,
86
+ "no-loss-of-precision": ON,
87
+ "no-misleading-character-class": ON,
88
+ "no-new-native-nonconstructor": ON,
89
+ "no-obj-calls": ON,
90
90
  "no-promise-executor-return": [
91
- ERROR,
91
+ ON,
92
92
  {
93
93
  allowVoid: true,
94
94
  },
95
95
  ],
96
- "no-prototype-builtins": ERROR,
96
+ "no-prototype-builtins": ON,
97
97
  "no-self-assign": [
98
- ERROR,
98
+ ON,
99
99
  {
100
100
  props: true,
101
101
  },
102
102
  ],
103
- "no-self-compare": ERROR,
104
- "no-setter-return": ERROR,
105
- "no-sparse-arrays": ERROR,
106
- "no-template-curly-in-string": ERROR,
107
- "no-this-before-super": ERROR,
108
- "no-undef": ERROR,
109
- "no-unexpected-multiline": ERROR,
110
- "no-unmodified-loop-condition": ERROR,
111
- "no-unreachable": ERROR,
103
+ "no-self-compare": ON,
104
+ "no-setter-return": ON,
105
+ "no-sparse-arrays": ON,
106
+ "no-template-curly-in-string": ON,
107
+ "no-this-before-super": ON,
108
+ "no-undef": ON,
109
+ "no-unexpected-multiline": ON,
110
+ "no-unmodified-loop-condition": ON,
111
+ "no-unreachable": ON,
112
112
  "no-unreachable-loop": [
113
- ERROR,
113
+ ON,
114
114
  {
115
115
  ignore: [],
116
116
  },
117
117
  ],
118
- "no-unsafe-finally": ERROR,
118
+ "no-unsafe-finally": ON,
119
119
  "no-unsafe-negation": [
120
- ERROR,
120
+ ON,
121
121
  {
122
122
  enforceForOrderingRelations: true,
123
123
  },
124
124
  ],
125
125
  "no-unsafe-optional-chaining": [
126
- ERROR,
126
+ ON,
127
127
  {
128
128
  disallowArithmeticOperators: true,
129
129
  },
130
130
  ],
131
- "no-unused-private-class-members": ERROR,
131
+ "no-unused-private-class-members": ON,
132
132
  "no-unused-vars": [
133
- ERROR,
133
+ ON,
134
134
  {
135
135
  vars: all,
136
136
  args: all,
@@ -141,7 +141,7 @@ export const Enable = {
141
141
  },
142
142
  ],
143
143
  "no-use-before-define": [
144
- ERROR,
144
+ ON,
145
145
  {
146
146
  functions: true,
147
147
  classes: true,
@@ -149,29 +149,29 @@ export const Enable = {
149
149
  allowNamedExports: false,
150
150
  },
151
151
  ],
152
- "no-useless-assignment": ERROR,
153
- "no-useless-backreference": ERROR,
152
+ "no-useless-assignment": ON,
153
+ "no-useless-backreference": ON,
154
154
  "require-atomic-updates": [
155
- ERROR,
155
+ ON,
156
156
  {
157
157
  allowProperties: false,
158
158
  },
159
159
  ],
160
160
  "use-isnan": [
161
- ERROR,
161
+ ON,
162
162
  {
163
163
  enforceForSwitchCase: true,
164
164
  enforceForIndexOf: true,
165
165
  },
166
166
  ],
167
167
  "valid-typeof": [
168
- ERROR,
168
+ ON,
169
169
  {
170
170
  requireStringLiterals: true,
171
171
  },
172
172
  ],
173
173
  "accessor-pairs": [
174
- ERROR,
174
+ ON,
175
175
  {
176
176
  setWithoutGet: true,
177
177
  getWithoutSet: false,
@@ -179,39 +179,39 @@ export const Enable = {
179
179
  },
180
180
  ],
181
181
  "arrow-body-style": [
182
- ERROR,
182
+ ON,
183
183
  as_needed,
184
184
  {
185
185
  requireReturnForObjectLiteral: true,
186
186
  },
187
187
  ],
188
- "block-scoped-var": ERROR,
188
+ "block-scoped-var": ON,
189
189
  camelcase: OFF,
190
190
  "capitalized-comments": OFF,
191
191
  "class-methods-use-this": OFF,
192
192
  complexity: OFF,
193
193
  "consistent-return": [
194
- ERROR,
194
+ ON,
195
195
  {
196
196
  treatUndefinedAsUnspecified: false,
197
197
  },
198
198
  ],
199
- "consistent-this": ERROR,
199
+ "consistent-this": ON,
200
200
  curly: [
201
- ERROR,
201
+ ON,
202
202
  multi,
203
203
  ],
204
204
  "default-case": OFF,
205
- "default-case-last": ERROR,
206
- "default-param-last": ERROR,
205
+ "default-case-last": ON,
206
+ "default-param-last": ON,
207
207
  "dot-notation": [
208
- ERROR,
208
+ ON,
209
209
  {
210
210
  allowKeywords: true,
211
211
  },
212
212
  ],
213
213
  eqeqeq: [
214
- ERROR,
214
+ ON,
215
215
  always,
216
216
  ],
217
217
  "func-name-matching": OFF,
@@ -223,11 +223,11 @@ export const Enable = {
223
223
  "id-length": OFF,
224
224
  "id-match": OFF,
225
225
  "init-declarations": [
226
- ERROR,
226
+ ON,
227
227
  always,
228
228
  ],
229
229
  "logical-assignment-operators": [
230
- ERROR,
230
+ ON,
231
231
  always,
232
232
  {
233
233
  enforceForIfStatements: true,
@@ -242,64 +242,64 @@ export const Enable = {
242
242
  "max-statements": OFF,
243
243
  "multiline-comment-style": OFF,
244
244
  "new-cap": OFF,
245
- "no-alert": ERROR,
246
- "no-array-constructor": ERROR,
245
+ "no-alert": ON,
246
+ "no-array-constructor": ON,
247
247
  "no-bitwise": [
248
- ERROR,
248
+ ON,
249
249
  {
250
250
  allow: [],
251
251
  int32Hint: true,
252
252
  },
253
253
  ],
254
- "no-caller": ERROR,
255
- "no-case-declarations": ERROR,
254
+ "no-caller": ON,
255
+ "no-case-declarations": ON,
256
256
  "no-console": OFF,
257
- "no-continue": ERROR,
258
- "no-delete-var": ERROR,
259
- "no-div-regex": ERROR,
257
+ "no-continue": ON,
258
+ "no-delete-var": ON,
259
+ "no-div-regex": ON,
260
260
  "no-else-return": OFF,
261
261
  "no-empty": [
262
- ERROR,
262
+ ON,
263
263
  {
264
264
  allowEmptyCatch: false,
265
265
  },
266
266
  ],
267
267
  "no-empty-function": [
268
- ERROR,
268
+ ON,
269
269
  {
270
270
  allow: ["constructors"],
271
271
  },
272
272
  ],
273
- "no-empty-static-block": ERROR,
274
- "no-eq-null": ERROR,
273
+ "no-empty-static-block": ON,
274
+ "no-eq-null": ON,
275
275
  "no-eval": [
276
- ERROR,
276
+ ON,
277
277
  {
278
278
  allowIndirect: false,
279
279
  },
280
280
  ],
281
281
  "no-extend-native": [
282
- ERROR,
282
+ ON,
283
283
  {
284
284
  exceptions: [],
285
285
  },
286
286
  ],
287
- "no-extra-bind": ERROR,
287
+ "no-extra-bind": ON,
288
288
  "no-extra-boolean-cast": [
289
- ERROR,
289
+ ON,
290
290
  {
291
291
  enforceForLogicalOperands: true,
292
292
  },
293
293
  ],
294
- "no-extra-label": ERROR,
294
+ "no-extra-label": ON,
295
295
  "no-global-assign": [
296
- ERROR,
296
+ ON,
297
297
  {
298
298
  exceptions: [],
299
299
  },
300
300
  ],
301
301
  "no-implicit-coercion": [
302
- ERROR,
302
+ ON,
303
303
  {
304
304
  "boolean": true,
305
305
  number: true,
@@ -309,36 +309,36 @@ export const Enable = {
309
309
  },
310
310
  ],
311
311
  "no-implicit-globals": OFF,
312
- "no-implied-eval": ERROR,
312
+ "no-implied-eval": ON,
313
313
  "no-inline-comments": OFF,
314
314
  "no-invalid-this": [
315
- ERROR,
315
+ ON,
316
316
  { capIsConstructor: false },
317
317
  ],
318
- "no-iterator": ERROR,
319
- "no-label-var": ERROR,
320
- "no-lone-blocks": ERROR,
318
+ "no-iterator": ON,
319
+ "no-label-var": ON,
320
+ "no-lone-blocks": ON,
321
321
  "no-lonely-if": OFF,
322
- "no-loop-func": ERROR,
322
+ "no-loop-func": ON,
323
323
  "no-magic-numbers": OFF,
324
324
  "no-multi-assign": [
325
- ERROR,
325
+ ON,
326
326
  {
327
327
  ignoreNonDeclaration: false,
328
328
  },
329
329
  ],
330
- "no-multi-str": ERROR,
330
+ "no-multi-str": ON,
331
331
  "no-negated-condition": OFF,
332
332
  "no-nested-ternary": OFF,
333
- "no-new": ERROR,
334
- "no-new-func": ERROR,
335
- "no-new-wrappers": ERROR,
336
- "no-nonoctal-decimal-escape": ERROR,
337
- "no-object-constructor": ERROR,
338
- "no-octal": ERROR,
339
- "no-octal-escape": ERROR,
333
+ "no-new": ON,
334
+ "no-new-func": ON,
335
+ "no-new-wrappers": ON,
336
+ "no-nonoctal-decimal-escape": ON,
337
+ "no-object-constructor": ON,
338
+ "no-octal": ON,
339
+ "no-octal-escape": ON,
340
340
  "no-param-reassign": [
341
- ERROR,
341
+ ON,
342
342
  {
343
343
  props: true,
344
344
  ignorePropertyModificationsFor: [],
@@ -346,14 +346,14 @@ export const Enable = {
346
346
  },
347
347
  ],
348
348
  "no-plusplus": [
349
- ERROR,
349
+ ON,
350
350
  {
351
351
  allowForLoopAfterthoughts: true,
352
352
  },
353
353
  ],
354
- "no-proto": ERROR,
354
+ "no-proto": ON,
355
355
  "no-redeclare": [
356
- ERROR,
356
+ ON,
357
357
  { builtinGlobals: true },
358
358
  ],
359
359
  "no-regex-spaces": OFF,
@@ -363,28 +363,28 @@ export const Enable = {
363
363
  "no-restricted-properties": OFF,
364
364
  "no-restricted-syntax": OFF,
365
365
  "no-return-assign": OFF,
366
- "no-script-url": ERROR,
366
+ "no-script-url": ON,
367
367
  "no-sequences": [
368
- ERROR,
368
+ ON,
369
369
  {
370
370
  allowInParentheses: true,
371
371
  },
372
372
  ],
373
373
  "no-shadow": OFF,
374
- "no-shadow-restricted-names": ERROR,
374
+ "no-shadow-restricted-names": ON,
375
375
  "no-ternary": OFF,
376
- "no-throw-literal": ERROR,
377
- "no-undef-init": ERROR,
376
+ "no-throw-literal": ON,
377
+ "no-undef-init": ON,
378
378
  "no-undefined": OFF,
379
379
  "no-underscore-dangle": OFF,
380
380
  "no-unneeded-ternary": [
381
- ERROR,
381
+ ON,
382
382
  {
383
383
  defaultAssignment: false,
384
384
  },
385
385
  ],
386
386
  "no-unused-expressions": [
387
- ERROR,
387
+ ON,
388
388
  {
389
389
  allowShortCircuit: true,
390
390
  allowTernary: true,
@@ -392,38 +392,38 @@ export const Enable = {
392
392
  enforceForJSX: false,
393
393
  },
394
394
  ],
395
- "no-unused-labels": ERROR,
396
- "no-useless-call": ERROR,
397
- "no-useless-catch": ERROR,
395
+ "no-unused-labels": ON,
396
+ "no-useless-call": ON,
397
+ "no-useless-catch": ON,
398
398
  "no-useless-computed-key": [
399
- ERROR,
399
+ ON,
400
400
  {
401
401
  enforceForClassMembers: true,
402
402
  },
403
403
  ],
404
- "no-useless-concat": ERROR,
405
- "no-useless-constructor": ERROR,
406
- "no-useless-escape": ERROR,
404
+ "no-useless-concat": ON,
405
+ "no-useless-constructor": ON,
406
+ "no-useless-escape": ON,
407
407
  "no-useless-rename": [
408
- ERROR,
408
+ ON,
409
409
  {
410
410
  ignoreImport: false,
411
411
  ignoreExport: false,
412
412
  ignoreDestructuring: false,
413
413
  },
414
414
  ],
415
- "no-useless-return": ERROR,
416
- "no-var": ERROR,
415
+ "no-useless-return": ON,
416
+ "no-var": ON,
417
417
  "no-void": [
418
- ERROR,
418
+ ON,
419
419
  {
420
420
  allowAsStatement: true,
421
421
  },
422
422
  ],
423
423
  "no-warning-comments": OFF,
424
- "no-with": ERROR,
424
+ "no-with": ON,
425
425
  "object-shorthand": [
426
- ERROR,
426
+ ON,
427
427
  always,
428
428
  {
429
429
  avoidQuotes: true,
@@ -432,7 +432,7 @@ export const Enable = {
432
432
  },
433
433
  ],
434
434
  "one-var": [
435
- ERROR,
435
+ ON,
436
436
  {
437
437
  "var": consecutive,
438
438
  let: consecutive,
@@ -441,25 +441,25 @@ export const Enable = {
441
441
  },
442
442
  ],
443
443
  "operator-assignment": [
444
- ERROR,
444
+ ON,
445
445
  always,
446
446
  ],
447
447
  "prefer-arrow-callback": [
448
- ERROR,
448
+ ON,
449
449
  {
450
450
  allowNamedFunctions: false,
451
451
  allowUnboundThis: true,
452
452
  },
453
453
  ],
454
454
  "prefer-const": [
455
- ERROR,
455
+ ON,
456
456
  {
457
457
  destructuring: all,
458
458
  ignoreReadBeforeAssign: false,
459
459
  },
460
460
  ],
461
461
  "prefer-destructuring": [
462
- ERROR,
462
+ ON,
463
463
  {
464
464
  VariableDeclarator: {
465
465
  array: true,
@@ -472,41 +472,41 @@ export const Enable = {
472
472
  },
473
473
  { enforceForRenamedProperties: true },
474
474
  ],
475
- "prefer-exponentiation-operator": ERROR,
475
+ "prefer-exponentiation-operator": ON,
476
476
  "prefer-named-capture-group": OFF,
477
- "prefer-numeric-literals": ERROR,
478
- "prefer-object-has-own": ERROR,
479
- "prefer-object-spread": ERROR,
477
+ "prefer-numeric-literals": ON,
478
+ "prefer-object-has-own": ON,
479
+ "prefer-object-spread": ON,
480
480
  "prefer-promise-reject-errors": [
481
- ERROR,
481
+ ON,
482
482
  {
483
483
  allowEmptyReject: false,
484
484
  },
485
485
  ],
486
486
  "prefer-regex-literals": [
487
- ERROR,
487
+ ON,
488
488
  {
489
489
  disallowRedundantWrapping: true,
490
490
  },
491
491
  ],
492
- "prefer-rest-params": ERROR,
493
- "prefer-spread": ERROR,
494
- "prefer-template": ERROR,
492
+ "prefer-rest-params": ON,
493
+ "prefer-spread": ON,
494
+ "prefer-template": ON,
495
495
  radix: [
496
- ERROR,
496
+ ON,
497
497
  as_needed,
498
498
  ],
499
- "require-await": ERROR,
500
- "require-unicode-regexp": ERROR,
501
- "require-yield": ERROR,
499
+ "require-await": ON,
500
+ "require-unicode-regexp": ON,
501
+ "require-yield": ON,
502
502
  "sort-imports": OFF,
503
503
  "sort-keys": OFF,
504
504
  "sort-vars": OFF,
505
505
  strict: OFF,
506
506
  "symbol-description": OFF,
507
- "vars-on-top": ERROR,
507
+ "vars-on-top": ON,
508
508
  yoda: [
509
- ERROR,
509
+ ON,
510
510
  never,
511
511
  {
512
512
  exceptRange: false,