Skip to content

Commit 8b4a4b5

Browse files
committed
feat(unicorn): turn on consistent-empty-array-spread
1 parent 5463856 commit 8b4a4b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/configs/unicorn.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ export async function unicorn(): Promise<TypedFlatConfigItem[]> {
1111
rules: {
1212
// 'unicorn/better-regex': 'error',
1313
'unicorn/catch-error-name': 'error',
14+
'unicorn/consistent-empty-array-spread': 'error',
1415
'unicorn/custom-error-definition': 'error',
1516
'unicorn/error-message': 'error',
16-
'unicorn/escape-case': 'error',
1717
// 'unicorn/explicit-length-check': 'error',
1818
// 'unicorn/filename-case': [
1919
// 'error',
2020
// {
2121
// cases: { kebabCase: true, pascalCase: true },
2222
// ignore: [/^[A-Z]+\..*$/],
2323
// },
24+
'unicorn/escape-case': 'error',
2425
// ],
2526
'unicorn/new-for-builtins': 'error',
2627
// 'unicorn/no-array-callback-reference': 'error',

0 commit comments

Comments
 (0)