Skip to content

Commit b1718a2

Browse files
committed
chore: turn on unicorn/better-regex
1 parent a1a0449 commit b1718a2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/configs/unicorn.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export async function unicorn(): Promise<FlatConfigItem[]> {
99
unicorn: pluginUnicorn,
1010
},
1111
rules: {
12+
'unicorn/better-regex': 'error',
1213
// Pass error message when throwing errors
1314
'unicorn/error-message': 'error',
1415
// Uppercase regex escapes

src/configs/unocss.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export async function unocss(
2121

2222
return [
2323
{
24-
name: 'antfu:unocss',
24+
name: 'coderwyd:unocss',
2525
plugins: {
2626
unocss: pluginUnoCSS,
2727
},

0 commit comments

Comments
 (0)