Skip to content

Commit 51a1460

Browse files
committed
feat: enable unicorn/consistent-function-scoping
1 parent 84221ae commit 51a1460

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import {
2121
typescript,
2222
unicorn,
2323
unocss,
24+
disables,
2425
vue,
2526
} from './configs'
2627
import {
@@ -262,6 +263,8 @@ export async function defineConfig(
262263
)
263264
}
264265

266+
configs.push(disables())
267+
265268
if ('files' in options) {
266269
throw new Error('[@coderwyd/eslint-config] The first argument should not contain the "files" property as the options are supposed to be global. Place it in the second or later config instead.')
267270
}

0 commit comments

Comments
 (0)