Skip to content

Commit 5fa70fc

Browse files
committed
feat(unicorn): enable new rules
1 parent 3e65900 commit 5fa70fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/configs/unicorn.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export const unicorn: FlatESLintConfig[] = [
99
rules: {
1010
'unicorn/better-regex': 'error',
1111
'unicorn/catch-error-name': 'error',
12+
'unicorn/consistent-empty-array-spread': 'error',
1213
'unicorn/custom-error-definition': 'error',
1314
'unicorn/error-message': 'error',
1415
'unicorn/escape-case': 'error',
@@ -64,6 +65,7 @@ export const unicorn: FlatESLintConfig[] = [
6465
'unicorn/prefer-query-selector': 'error',
6566
'unicorn/prefer-reflect-apply': 'error',
6667
'unicorn/prefer-regexp-test': 'error',
68+
'unicorn/prefer-string-raw': 'error',
6769
'unicorn/prefer-string-replace-all': 'error',
6870
'unicorn/prefer-string-slice': 'error',
6971
'unicorn/prefer-string-starts-ends-with': 'error',

0 commit comments

Comments
 (0)