@open-turo/eslint-config-react 24.0.0 → 25.0.0-pr-463.285.1.1

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.
@@ -0,0 +1,435 @@
1
+ # Breaking changes in v25
2
+
3
+ - Bumps underlying `eslint-plugin-unicorn` reliance from `@open-turo/eslint-config-typescript` from v56 to v63.
4
+ - v57 went ESM-only, and this repo did not support it until recently.
5
+ - Rather than add breaking changes for multiple intermediate bumps, we jump 7 major versions, to avoid churn in config.
6
+
7
+ Below are the full list of changes:
8
+
9
+ ```diff
10
+ diff --git a/test/__snapshots__/test.spec.js.snap b/test/__snapshots__/test.spec.js.snap
11
+ index 83d5cdc..285eed9 100644
12
+ --- a/test/__snapshots__/test.spec.js.snap
13
+ +++ b/test/__snapshots__/test.spec.js.snap
14
+ @@ -3178,9 +3178,22 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
15
+ ],
16
+ "unicorn/better-regex": [
17
+ 0,
18
+ + {
19
+ + "sortCharacterClasses": true,
20
+ + },
21
+ ],
22
+ "unicorn/catch-error-name": [
23
+ 2,
24
+ + {
25
+ + "ignore": [],
26
+ + "name": "error",
27
+ + },
28
+ + ],
29
+ + "unicorn/consistent-assert": [
30
+ + 2,
31
+ + ],
32
+ + "unicorn/consistent-date-clone": [
33
+ + 2,
34
+ ],
35
+ "unicorn/consistent-destructuring": [
36
+ 0,
37
+ @@ -3193,6 +3206,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
38
+ ],
39
+ "unicorn/consistent-function-scoping": [
40
+ 2,
41
+ + {
42
+ + "checkArrowFunctions": true,
43
+ + },
44
+ ],
45
+ "unicorn/custom-error-definition": [
46
+ 0,
47
+ @@ -3205,6 +3221,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
48
+ ],
49
+ "unicorn/escape-case": [
50
+ 2,
51
+ + "uppercase",
52
+ ],
53
+ "unicorn/expiring-todo-comments": [
54
+ 2,
55
+ @@ -3221,12 +3238,29 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
56
+ ],
57
+ "unicorn/explicit-length-check": [
58
+ 2,
59
+ + {
60
+ + "non-zero": "greater-than",
61
+ + },
62
+ ],
63
+ "unicorn/filename-case": [
64
+ 2,
65
+ ],
66
+ "unicorn/import-style": [
67
+ 2,
68
+ + {},
69
+ + ],
70
+ + "unicorn/isolated-functions": [
71
+ + 2,
72
+ + {
73
+ + "comments": [
74
+ + "@isolated",
75
+ + ],
76
+ + "functions": [
77
+ + "makeSynchronous",
78
+ + ],
79
+ + "overrideGlobals": {},
80
+ + "selectors": [],
81
+ + },
82
+ ],
83
+ "unicorn/new-for-builtins": [
84
+ 2,
85
+ @@ -3234,6 +3268,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
86
+ "unicorn/no-abusive-eslint-disable": [
87
+ 2,
88
+ ],
89
+ + "unicorn/no-accessor-recursion": [
90
+ + 2,
91
+ + ],
92
+ "unicorn/no-anonymous-default-export": [
93
+ 2,
94
+ ],
95
+ @@ -3246,11 +3283,23 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
96
+ "unicorn/no-array-method-this-argument": [
97
+ 2,
98
+ ],
99
+ - "unicorn/no-array-push-push": [
100
+ + "unicorn/no-array-reduce": [
101
+ 2,
102
+ + {
103
+ + "allowSimpleOperations": true,
104
+ + },
105
+ ],
106
+ - "unicorn/no-array-reduce": [
107
+ + "unicorn/no-array-reverse": [
108
+ + 2,
109
+ + {
110
+ + "allowExpressionStatement": true,
111
+ + },
112
+ + ],
113
+ + "unicorn/no-array-sort": [
114
+ 2,
115
+ + {
116
+ + "allowExpressionStatement": true,
117
+ + },
118
+ ],
119
+ "unicorn/no-await-expression-member": [
120
+ 2,
121
+ @@ -3273,9 +3322,18 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
122
+ "unicorn/no-hex-escape": [
123
+ 2,
124
+ ],
125
+ - "unicorn/no-instanceof-array": [
126
+ + "unicorn/no-immediate-mutation": [
127
+ 2,
128
+ ],
129
+ + "unicorn/no-instanceof-builtins": [
130
+ + 2,
131
+ + {
132
+ + "exclude": [],
133
+ + "include": [],
134
+ + "strategy": "loose",
135
+ + "useErrorIsError": false,
136
+ + },
137
+ + ],
138
+ "unicorn/no-invalid-fetch-options": [
139
+ 2,
140
+ ],
141
+ @@ -3284,9 +3342,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
142
+ ],
143
+ "unicorn/no-keyword-prefix": [
144
+ 0,
145
+ - ],
146
+ - "unicorn/no-length-as-slice-end": [
147
+ - 2,
148
+ + {},
149
+ ],
150
+ "unicorn/no-lonely-if": [
151
+ 2,
152
+ @@ -3294,6 +3350,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
153
+ "unicorn/no-magic-array-flat-depth": [
154
+ 2,
155
+ ],
156
+ + "unicorn/no-named-default": [
157
+ + 2,
158
+ + ],
159
+ "unicorn/no-negated-condition": [
160
+ 2,
161
+ ],
162
+ @@ -3311,6 +3370,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
163
+ ],
164
+ "unicorn/no-null": [
165
+ 2,
166
+ + {
167
+ + "checkStrictEquality": false,
168
+ + },
169
+ ],
170
+ "unicorn/no-object-as-default-parameter": [
171
+ 2,
172
+ @@ -3332,6 +3394,15 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
173
+ ],
174
+ "unicorn/no-typeof-undefined": [
175
+ 2,
176
+ + {
177
+ + "checkGlobalVariables": false,
178
+ + },
179
+ + ],
180
+ + "unicorn/no-unnecessary-array-flat-depth": [
181
+ + 2,
182
+ + ],
183
+ + "unicorn/no-unnecessary-array-splice-count": [
184
+ + 2,
185
+ ],
186
+ "unicorn/no-unnecessary-await": [
187
+ 2,
188
+ @@ -3339,6 +3410,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
189
+ "unicorn/no-unnecessary-polyfills": [
190
+ 2,
191
+ ],
192
+ + "unicorn/no-unnecessary-slice-end": [
193
+ + 2,
194
+ + ],
195
+ "unicorn/no-unreadable-array-destructuring": [
196
+ 2,
197
+ ],
198
+ @@ -3348,6 +3422,12 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
199
+ "unicorn/no-unused-properties": [
200
+ 0,
201
+ ],
202
+ + "unicorn/no-useless-collection-argument": [
203
+ + 2,
204
+ + ],
205
+ + "unicorn/no-useless-error-capture-stack-trace": [
206
+ + 2,
207
+ + ],
208
+ "unicorn/no-useless-fallback-in-spread": [
209
+ 2,
210
+ ],
211
+ @@ -3365,24 +3445,62 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
212
+ ],
213
+ "unicorn/no-useless-undefined": [
214
+ 2,
215
+ + {
216
+ + "checkArguments": true,
217
+ + "checkArrowFunctionBody": true,
218
+ + },
219
+ ],
220
+ "unicorn/no-zero-fractions": [
221
+ 2,
222
+ ],
223
+ "unicorn/number-literal-case": [
224
+ 0,
225
+ + {
226
+ + "hexadecimalValue": "uppercase",
227
+ + },
228
+ ],
229
+ "unicorn/numeric-separators-style": [
230
+ 2,
231
+ + {
232
+ + "binary": {
233
+ + "groupLength": 4,
234
+ + "minimumDigits": 0,
235
+ + },
236
+ + "hexadecimal": {
237
+ + "groupLength": 2,
238
+ + "minimumDigits": 0,
239
+ + },
240
+ + "number": {
241
+ + "groupLength": 3,
242
+ + "minimumDigits": 5,
243
+ + },
244
+ + "octal": {
245
+ + "groupLength": 4,
246
+ + "minimumDigits": 0,
247
+ + },
248
+ + "onlyIfContainsSeparator": false,
249
+ + },
250
+ ],
251
+ "unicorn/prefer-add-event-listener": [
252
+ 2,
253
+ + {
254
+ + "excludedPackages": [
255
+ + "koa",
256
+ + "sax",
257
+ + ],
258
+ + },
259
+ ],
260
+ "unicorn/prefer-array-find": [
261
+ 2,
262
+ + {
263
+ + "checkFromLast": true,
264
+ + },
265
+ ],
266
+ "unicorn/prefer-array-flat": [
267
+ 2,
268
+ + {
269
+ + "functions": [],
270
+ + },
271
+ ],
272
+ "unicorn/prefer-array-flat-map": [
273
+ 2,
274
+ @@ -3395,10 +3513,23 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
275
+ ],
276
+ "unicorn/prefer-at": [
277
+ 2,
278
+ + {
279
+ + "checkAllIndexAccess": false,
280
+ + "getLastElementFunctions": [],
281
+ + },
282
+ + ],
283
+ + "unicorn/prefer-bigint-literals": [
284
+ + 2,
285
+ ],
286
+ "unicorn/prefer-blob-reading-methods": [
287
+ 2,
288
+ ],
289
+ + "unicorn/prefer-class-fields": [
290
+ + 2,
291
+ + ],
292
+ + "unicorn/prefer-classlist-toggle": [
293
+ + 2,
294
+ + ],
295
+ "unicorn/prefer-code-point": [
296
+ 2,
297
+ ],
298
+ @@ -3425,10 +3556,16 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
299
+ ],
300
+ "unicorn/prefer-export-from": [
301
+ 2,
302
+ + {
303
+ + "ignoreUsedVariables": false,
304
+ + },
305
+ ],
306
+ "unicorn/prefer-global-this": [
307
+ 2,
308
+ ],
309
+ + "unicorn/prefer-import-meta-properties": [
310
+ + 0,
311
+ + ],
312
+ "unicorn/prefer-includes": [
313
+ 2,
314
+ ],
315
+ @@ -3467,9 +3604,16 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
316
+ ],
317
+ "unicorn/prefer-number-properties": [
318
+ 2,
319
+ + {
320
+ + "checkInfinity": false,
321
+ + "checkNaN": true,
322
+ + },
323
+ ],
324
+ "unicorn/prefer-object-from-entries": [
325
+ 2,
326
+ + {
327
+ + "functions": [],
328
+ + },
329
+ ],
330
+ "unicorn/prefer-optional-catch-binding": [
331
+ 2,
332
+ @@ -3486,12 +3630,21 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
333
+ "unicorn/prefer-regexp-test": [
334
+ 2,
335
+ ],
336
+ + "unicorn/prefer-response-static-json": [
337
+ + 2,
338
+ + ],
339
+ "unicorn/prefer-set-has": [
340
+ 2,
341
+ ],
342
+ "unicorn/prefer-set-size": [
343
+ 2,
344
+ ],
345
+ + "unicorn/prefer-single-call": [
346
+ + 2,
347
+ + {
348
+ + "ignore": [],
349
+ + },
350
+ + ],
351
+ "unicorn/prefer-spread": [
352
+ 2,
353
+ ],
354
+ @@ -3512,12 +3665,20 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
355
+ ],
356
+ "unicorn/prefer-structured-clone": [
357
+ 2,
358
+ + {
359
+ + "functions": [],
360
+ + },
361
+ ],
362
+ "unicorn/prefer-switch": [
363
+ 2,
364
+ + {
365
+ + "emptyDefaultCase": "no-default-comment",
366
+ + "minimumCases": 3,
367
+ + },
368
+ ],
369
+ "unicorn/prefer-ternary": [
370
+ 2,
371
+ + "always",
372
+ ],
373
+ "unicorn/prefer-top-level-await": [
374
+ 2,
375
+ @@ -3542,10 +3703,17 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
376
+ ],
377
+ "unicorn/relative-url-style": [
378
+ 2,
379
+ + "never",
380
+ ],
381
+ "unicorn/require-array-join-separator": [
382
+ 2,
383
+ ],
384
+ + "unicorn/require-module-attributes": [
385
+ + 2,
386
+ + ],
387
+ + "unicorn/require-module-specifiers": [
388
+ + 2,
389
+ + ],
390
+ "unicorn/require-number-to-fixed-digits-argument": [
391
+ 2,
392
+ ],
393
+ @@ -3554,15 +3722,41 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
394
+ ],
395
+ "unicorn/string-content": [
396
+ 0,
397
+ + {
398
+ + "patterns": {},
399
+ + },
400
+ ],
401
+ "unicorn/switch-case-braces": [
402
+ 2,
403
+ + "always",
404
+ ],
405
+ "unicorn/template-indent": [
406
+ 0,
407
+ + {
408
+ + "comments": [
409
+ + "HTML",
410
+ + "indent",
411
+ + ],
412
+ + "functions": [
413
+ + "dedent",
414
+ + "stripIndent",
415
+ + ],
416
+ + "selectors": [],
417
+ + "tags": [
418
+ + "outdent",
419
+ + "dedent",
420
+ + "gql",
421
+ + "sql",
422
+ + "html",
423
+ + "styled",
424
+ + ],
425
+ + },
426
+ ],
427
+ "unicorn/text-encoding-identifier-case": [
428
+ 2,
429
+ + {
430
+ + "withDash": false,
431
+ + },
432
+ ],
433
+ "unicorn/throw-new-error": [
434
+ 2,
435
+ ```
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Turo eslint configuration for react",
4
4
  "type": "module",
5
5
  "dependencies": {
6
- "@open-turo/eslint-config-typescript": "23.0.0",
6
+ "@open-turo/eslint-config-typescript": "^24.0.0-pr-503.707.1.1",
7
7
  "eslint-plugin-jsx-a11y": "6.10.2",
8
8
  "eslint-plugin-react": "7.37.5",
9
9
  "eslint-plugin-react-hooks": "7.0.1",
@@ -47,5 +47,5 @@
47
47
  "access": "public"
48
48
  },
49
49
  "repository": "https://github.com/open-turo/eslint-config-react",
50
- "version": "24.0.0"
50
+ "version": "25.0.0-pr-463.285.1.1"
51
51
  }
@@ -3178,9 +3178,22 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3178
3178
  ],
3179
3179
  "unicorn/better-regex": [
3180
3180
  0,
3181
+ {
3182
+ "sortCharacterClasses": true,
3183
+ },
3181
3184
  ],
3182
3185
  "unicorn/catch-error-name": [
3183
3186
  2,
3187
+ {
3188
+ "ignore": [],
3189
+ "name": "error",
3190
+ },
3191
+ ],
3192
+ "unicorn/consistent-assert": [
3193
+ 2,
3194
+ ],
3195
+ "unicorn/consistent-date-clone": [
3196
+ 2,
3184
3197
  ],
3185
3198
  "unicorn/consistent-destructuring": [
3186
3199
  0,
@@ -3193,6 +3206,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3193
3206
  ],
3194
3207
  "unicorn/consistent-function-scoping": [
3195
3208
  2,
3209
+ {
3210
+ "checkArrowFunctions": true,
3211
+ },
3196
3212
  ],
3197
3213
  "unicorn/custom-error-definition": [
3198
3214
  0,
@@ -3205,6 +3221,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3205
3221
  ],
3206
3222
  "unicorn/escape-case": [
3207
3223
  2,
3224
+ "uppercase",
3208
3225
  ],
3209
3226
  "unicorn/expiring-todo-comments": [
3210
3227
  2,
@@ -3221,12 +3238,29 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3221
3238
  ],
3222
3239
  "unicorn/explicit-length-check": [
3223
3240
  2,
3241
+ {
3242
+ "non-zero": "greater-than",
3243
+ },
3224
3244
  ],
3225
3245
  "unicorn/filename-case": [
3226
3246
  2,
3227
3247
  ],
3228
3248
  "unicorn/import-style": [
3229
3249
  2,
3250
+ {},
3251
+ ],
3252
+ "unicorn/isolated-functions": [
3253
+ 2,
3254
+ {
3255
+ "comments": [
3256
+ "@isolated",
3257
+ ],
3258
+ "functions": [
3259
+ "makeSynchronous",
3260
+ ],
3261
+ "overrideGlobals": {},
3262
+ "selectors": [],
3263
+ },
3230
3264
  ],
3231
3265
  "unicorn/new-for-builtins": [
3232
3266
  2,
@@ -3234,6 +3268,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3234
3268
  "unicorn/no-abusive-eslint-disable": [
3235
3269
  2,
3236
3270
  ],
3271
+ "unicorn/no-accessor-recursion": [
3272
+ 2,
3273
+ ],
3237
3274
  "unicorn/no-anonymous-default-export": [
3238
3275
  2,
3239
3276
  ],
@@ -3246,11 +3283,23 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3246
3283
  "unicorn/no-array-method-this-argument": [
3247
3284
  2,
3248
3285
  ],
3249
- "unicorn/no-array-push-push": [
3286
+ "unicorn/no-array-reduce": [
3250
3287
  2,
3288
+ {
3289
+ "allowSimpleOperations": true,
3290
+ },
3251
3291
  ],
3252
- "unicorn/no-array-reduce": [
3292
+ "unicorn/no-array-reverse": [
3293
+ 2,
3294
+ {
3295
+ "allowExpressionStatement": true,
3296
+ },
3297
+ ],
3298
+ "unicorn/no-array-sort": [
3253
3299
  2,
3300
+ {
3301
+ "allowExpressionStatement": true,
3302
+ },
3254
3303
  ],
3255
3304
  "unicorn/no-await-expression-member": [
3256
3305
  2,
@@ -3273,9 +3322,18 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3273
3322
  "unicorn/no-hex-escape": [
3274
3323
  2,
3275
3324
  ],
3276
- "unicorn/no-instanceof-array": [
3325
+ "unicorn/no-immediate-mutation": [
3277
3326
  2,
3278
3327
  ],
3328
+ "unicorn/no-instanceof-builtins": [
3329
+ 2,
3330
+ {
3331
+ "exclude": [],
3332
+ "include": [],
3333
+ "strategy": "loose",
3334
+ "useErrorIsError": false,
3335
+ },
3336
+ ],
3279
3337
  "unicorn/no-invalid-fetch-options": [
3280
3338
  2,
3281
3339
  ],
@@ -3284,9 +3342,7 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3284
3342
  ],
3285
3343
  "unicorn/no-keyword-prefix": [
3286
3344
  0,
3287
- ],
3288
- "unicorn/no-length-as-slice-end": [
3289
- 2,
3345
+ {},
3290
3346
  ],
3291
3347
  "unicorn/no-lonely-if": [
3292
3348
  2,
@@ -3294,6 +3350,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3294
3350
  "unicorn/no-magic-array-flat-depth": [
3295
3351
  2,
3296
3352
  ],
3353
+ "unicorn/no-named-default": [
3354
+ 2,
3355
+ ],
3297
3356
  "unicorn/no-negated-condition": [
3298
3357
  2,
3299
3358
  ],
@@ -3311,6 +3370,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3311
3370
  ],
3312
3371
  "unicorn/no-null": [
3313
3372
  2,
3373
+ {
3374
+ "checkStrictEquality": false,
3375
+ },
3314
3376
  ],
3315
3377
  "unicorn/no-object-as-default-parameter": [
3316
3378
  2,
@@ -3332,6 +3394,15 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3332
3394
  ],
3333
3395
  "unicorn/no-typeof-undefined": [
3334
3396
  2,
3397
+ {
3398
+ "checkGlobalVariables": false,
3399
+ },
3400
+ ],
3401
+ "unicorn/no-unnecessary-array-flat-depth": [
3402
+ 2,
3403
+ ],
3404
+ "unicorn/no-unnecessary-array-splice-count": [
3405
+ 2,
3335
3406
  ],
3336
3407
  "unicorn/no-unnecessary-await": [
3337
3408
  2,
@@ -3339,6 +3410,9 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3339
3410
  "unicorn/no-unnecessary-polyfills": [
3340
3411
  2,
3341
3412
  ],
3413
+ "unicorn/no-unnecessary-slice-end": [
3414
+ 2,
3415
+ ],
3342
3416
  "unicorn/no-unreadable-array-destructuring": [
3343
3417
  2,
3344
3418
  ],
@@ -3348,6 +3422,12 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3348
3422
  "unicorn/no-unused-properties": [
3349
3423
  0,
3350
3424
  ],
3425
+ "unicorn/no-useless-collection-argument": [
3426
+ 2,
3427
+ ],
3428
+ "unicorn/no-useless-error-capture-stack-trace": [
3429
+ 2,
3430
+ ],
3351
3431
  "unicorn/no-useless-fallback-in-spread": [
3352
3432
  2,
3353
3433
  ],
@@ -3365,24 +3445,62 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3365
3445
  ],
3366
3446
  "unicorn/no-useless-undefined": [
3367
3447
  2,
3448
+ {
3449
+ "checkArguments": true,
3450
+ "checkArrowFunctionBody": true,
3451
+ },
3368
3452
  ],
3369
3453
  "unicorn/no-zero-fractions": [
3370
3454
  2,
3371
3455
  ],
3372
3456
  "unicorn/number-literal-case": [
3373
3457
  0,
3458
+ {
3459
+ "hexadecimalValue": "uppercase",
3460
+ },
3374
3461
  ],
3375
3462
  "unicorn/numeric-separators-style": [
3376
3463
  2,
3464
+ {
3465
+ "binary": {
3466
+ "groupLength": 4,
3467
+ "minimumDigits": 0,
3468
+ },
3469
+ "hexadecimal": {
3470
+ "groupLength": 2,
3471
+ "minimumDigits": 0,
3472
+ },
3473
+ "number": {
3474
+ "groupLength": 3,
3475
+ "minimumDigits": 5,
3476
+ },
3477
+ "octal": {
3478
+ "groupLength": 4,
3479
+ "minimumDigits": 0,
3480
+ },
3481
+ "onlyIfContainsSeparator": false,
3482
+ },
3377
3483
  ],
3378
3484
  "unicorn/prefer-add-event-listener": [
3379
3485
  2,
3486
+ {
3487
+ "excludedPackages": [
3488
+ "koa",
3489
+ "sax",
3490
+ ],
3491
+ },
3380
3492
  ],
3381
3493
  "unicorn/prefer-array-find": [
3382
3494
  2,
3495
+ {
3496
+ "checkFromLast": true,
3497
+ },
3383
3498
  ],
3384
3499
  "unicorn/prefer-array-flat": [
3385
3500
  2,
3501
+ {
3502
+ "functions": [],
3503
+ },
3386
3504
  ],
3387
3505
  "unicorn/prefer-array-flat-map": [
3388
3506
  2,
@@ -3395,10 +3513,23 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3395
3513
  ],
3396
3514
  "unicorn/prefer-at": [
3397
3515
  2,
3516
+ {
3517
+ "checkAllIndexAccess": false,
3518
+ "getLastElementFunctions": [],
3519
+ },
3520
+ ],
3521
+ "unicorn/prefer-bigint-literals": [
3522
+ 2,
3398
3523
  ],
3399
3524
  "unicorn/prefer-blob-reading-methods": [
3400
3525
  2,
3401
3526
  ],
3527
+ "unicorn/prefer-class-fields": [
3528
+ 2,
3529
+ ],
3530
+ "unicorn/prefer-classlist-toggle": [
3531
+ 2,
3532
+ ],
3402
3533
  "unicorn/prefer-code-point": [
3403
3534
  2,
3404
3535
  ],
@@ -3425,10 +3556,16 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3425
3556
  ],
3426
3557
  "unicorn/prefer-export-from": [
3427
3558
  2,
3559
+ {
3560
+ "ignoreUsedVariables": false,
3561
+ },
3428
3562
  ],
3429
3563
  "unicorn/prefer-global-this": [
3430
3564
  2,
3431
3565
  ],
3566
+ "unicorn/prefer-import-meta-properties": [
3567
+ 0,
3568
+ ],
3432
3569
  "unicorn/prefer-includes": [
3433
3570
  2,
3434
3571
  ],
@@ -3467,9 +3604,16 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3467
3604
  ],
3468
3605
  "unicorn/prefer-number-properties": [
3469
3606
  2,
3607
+ {
3608
+ "checkInfinity": false,
3609
+ "checkNaN": true,
3610
+ },
3470
3611
  ],
3471
3612
  "unicorn/prefer-object-from-entries": [
3472
3613
  2,
3614
+ {
3615
+ "functions": [],
3616
+ },
3473
3617
  ],
3474
3618
  "unicorn/prefer-optional-catch-binding": [
3475
3619
  2,
@@ -3486,12 +3630,21 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3486
3630
  "unicorn/prefer-regexp-test": [
3487
3631
  2,
3488
3632
  ],
3633
+ "unicorn/prefer-response-static-json": [
3634
+ 2,
3635
+ ],
3489
3636
  "unicorn/prefer-set-has": [
3490
3637
  2,
3491
3638
  ],
3492
3639
  "unicorn/prefer-set-size": [
3493
3640
  2,
3494
3641
  ],
3642
+ "unicorn/prefer-single-call": [
3643
+ 2,
3644
+ {
3645
+ "ignore": [],
3646
+ },
3647
+ ],
3495
3648
  "unicorn/prefer-spread": [
3496
3649
  2,
3497
3650
  ],
@@ -3512,12 +3665,20 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3512
3665
  ],
3513
3666
  "unicorn/prefer-structured-clone": [
3514
3667
  2,
3668
+ {
3669
+ "functions": [],
3670
+ },
3515
3671
  ],
3516
3672
  "unicorn/prefer-switch": [
3517
3673
  2,
3674
+ {
3675
+ "emptyDefaultCase": "no-default-comment",
3676
+ "minimumCases": 3,
3677
+ },
3518
3678
  ],
3519
3679
  "unicorn/prefer-ternary": [
3520
3680
  2,
3681
+ "always",
3521
3682
  ],
3522
3683
  "unicorn/prefer-top-level-await": [
3523
3684
  2,
@@ -3542,10 +3703,17 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3542
3703
  ],
3543
3704
  "unicorn/relative-url-style": [
3544
3705
  2,
3706
+ "never",
3545
3707
  ],
3546
3708
  "unicorn/require-array-join-separator": [
3547
3709
  2,
3548
3710
  ],
3711
+ "unicorn/require-module-attributes": [
3712
+ 2,
3713
+ ],
3714
+ "unicorn/require-module-specifiers": [
3715
+ 2,
3716
+ ],
3549
3717
  "unicorn/require-number-to-fixed-digits-argument": [
3550
3718
  2,
3551
3719
  ],
@@ -3554,15 +3722,41 @@ exports[`validate config the flat config is correct for index.mjs 1`] = `
3554
3722
  ],
3555
3723
  "unicorn/string-content": [
3556
3724
  0,
3725
+ {
3726
+ "patterns": {},
3727
+ },
3557
3728
  ],
3558
3729
  "unicorn/switch-case-braces": [
3559
3730
  2,
3731
+ "always",
3560
3732
  ],
3561
3733
  "unicorn/template-indent": [
3562
3734
  0,
3735
+ {
3736
+ "comments": [
3737
+ "HTML",
3738
+ "indent",
3739
+ ],
3740
+ "functions": [
3741
+ "dedent",
3742
+ "stripIndent",
3743
+ ],
3744
+ "selectors": [],
3745
+ "tags": [
3746
+ "outdent",
3747
+ "dedent",
3748
+ "gql",
3749
+ "sql",
3750
+ "html",
3751
+ "styled",
3752
+ ],
3753
+ },
3563
3754
  ],
3564
3755
  "unicorn/text-encoding-identifier-case": [
3565
3756
  2,
3757
+ {
3758
+ "withDash": false,
3759
+ },
3566
3760
  ],
3567
3761
  "unicorn/throw-new-error": [
3568
3762
  2,