We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unicorn/no-length-as-slice-end
1 parent 749f4d0 commit 95288bdCopy full SHA for 95288bd
scripts/typegen.ts
@@ -59,6 +59,7 @@ const configs = await combine(
59
60
const configNames = configs.map(i => i.name).filter(Boolean) as string[]
61
62
+// @ts-expect-error eslint typegen version
63
let dts = await flatConfigsToRulesDTS(configs, {
64
includeAugmentation: false,
65
})
src/configs/unicorn.ts
@@ -33,6 +33,7 @@ export function unicorn(): TypedFlatConfigItem[] {
33
'unicorn/no-hex-escape': 'error',
34
'unicorn/no-instanceof-array': 'error',
35
'unicorn/no-invalid-remove-event-listener': 'error',
36
+ 'unicorn/no-length-as-slice-end': 'error',
37
'unicorn/no-lonely-if': 'error',
38
'unicorn/no-new-array': 'error',
39
'unicorn/no-new-buffer': 'error',
0 commit comments