File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ module.exports = defineConfig({\n${coderwydConfig}\n})
158
158
} else {
159
159
let settingsContent = await fsp . readFile ( settingsPath , 'utf8' )
160
160
161
- settingsContent = settingsContent . trim ( ) . replace ( / \s * } $ / , '' )
161
+ settingsContent = settingsContent . trim ( ) . replace ( / \s * \ }$ / , '' )
162
162
settingsContent +=
163
163
settingsContent . endsWith ( ',' ) || settingsContent . endsWith ( '{' )
164
164
? ''
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export async function unicorn(): Promise<TypedFlatConfigItem[]> {
9
9
unicorn : pluginUnicorn ,
10
10
} ,
11
11
rules : {
12
- 'unicorn/better-regex' : 'error' ,
12
+ // 'unicorn/better-regex': 'error',
13
13
'unicorn/catch-error-name' : 'error' ,
14
14
'unicorn/custom-error-definition' : 'error' ,
15
15
'unicorn/error-message' : 'error' ,
@@ -63,7 +63,7 @@ export async function unicorn(): Promise<TypedFlatConfigItem[]> {
63
63
'unicorn/prefer-prototype-methods' : 'error' ,
64
64
'unicorn/prefer-query-selector' : 'error' ,
65
65
'unicorn/prefer-reflect-apply' : 'error' ,
66
- 'unicorn/prefer-regexp-test' : 'error' ,
66
+ // 'unicorn/prefer-regexp-test': 'error',
67
67
'unicorn/prefer-string-replace-all' : 'error' ,
68
68
'unicorn/prefer-string-slice' : 'error' ,
69
69
'unicorn/prefer-string-starts-ends-with' : 'error' ,
You can’t perform that action at this time.
0 commit comments