eslint-config-complete 4.9.0 → 4.11.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-unicorn.d.ts","sourceRoot":"","sources":["../../../src/base/base-unicorn.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"base-unicorn.d.ts","sourceRoot":"","sources":["../../../src/base/base-unicorn.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,2DA4VG"}
|
|
@@ -66,7 +66,8 @@ export const baseUnicorn = defineConfig({
|
|
|
66
66
|
"unicorn/no-await-expression-member": "error",
|
|
67
67
|
"unicorn/no-await-in-promise-methods": "error",
|
|
68
68
|
"unicorn/no-blob-to-file": "error",
|
|
69
|
-
|
|
69
|
+
/** Disabled since simple double nested loops are common. */
|
|
70
|
+
"unicorn/no-break-in-nested-loop": "off",
|
|
70
71
|
"unicorn/no-canvas-to-image": "error",
|
|
71
72
|
/** Disabled since it is unnecessary with TypeScript objects that are properly typed. */
|
|
72
73
|
"unicorn/no-computed-property-existence-check": "off",
|
|
@@ -216,7 +217,8 @@ export const baseUnicorn = defineConfig({
|
|
|
216
217
|
*/
|
|
217
218
|
"unicorn/prefer-includes-over-repeated-comparisons": "off",
|
|
218
219
|
"unicorn/prefer-iterable-in-constructor": "error",
|
|
219
|
-
|
|
220
|
+
/** Disabled since `Iterator.spread` is not available in TypeScript 6. */
|
|
221
|
+
"unicorn/prefer-iterator-concat": "off",
|
|
220
222
|
"unicorn/prefer-iterator-to-array": "error",
|
|
221
223
|
"unicorn/prefer-iterator-to-array-at-end": "error",
|
|
222
224
|
"unicorn/prefer-keyboard-event-key": "error",
|