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})
158158 } else {
159159 let settingsContent = await fsp . readFile ( settingsPath , 'utf8' )
160160
161- settingsContent = settingsContent . trim ( ) . replace ( / \s * } $ / , '' )
161+ settingsContent = settingsContent . trim ( ) . replace ( / \s * \ }$ / , '' )
162162 settingsContent +=
163163 settingsContent . endsWith ( ',' ) || settingsContent . endsWith ( '{' )
164164 ? ''
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export async function unicorn(): Promise<TypedFlatConfigItem[]> {
99 unicorn : pluginUnicorn ,
1010 } ,
1111 rules : {
12- 'unicorn/better-regex' : 'error' ,
12+ // 'unicorn/better-regex': 'error',
1313 'unicorn/catch-error-name' : 'error' ,
1414 'unicorn/custom-error-definition' : 'error' ,
1515 'unicorn/error-message' : 'error' ,
@@ -63,7 +63,7 @@ export async function unicorn(): Promise<TypedFlatConfigItem[]> {
6363 'unicorn/prefer-prototype-methods' : 'error' ,
6464 'unicorn/prefer-query-selector' : 'error' ,
6565 'unicorn/prefer-reflect-apply' : 'error' ,
66- 'unicorn/prefer-regexp-test' : 'error' ,
66+ // 'unicorn/prefer-regexp-test': 'error',
6767 'unicorn/prefer-string-replace-all' : 'error' ,
6868 'unicorn/prefer-string-slice' : 'error' ,
6969 'unicorn/prefer-string-starts-ends-with' : 'error' ,
You can’t perform that action at this time.
0 commit comments