File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ module.exports = defineConfig({
78
78
'unicorn/prevent-abbreviations' : 'off' ,
79
79
'unicorn/require-array-join-separator' : 'off' ,
80
80
'unicorn/switch-case-braces' : 'off' ,
81
- 'unicorn/text-encoding-identifier-case' : 'off' ,
82
81
83
82
'@typescript-eslint/array-type' : [
84
83
'error' ,
@@ -155,6 +154,12 @@ module.exports = defineConfig({
155
154
'jsdoc/require-jsdoc' : 'error' ,
156
155
} ,
157
156
} ,
157
+ {
158
+ files : [ 'src/locales/**/*.ts' ] ,
159
+ rules : {
160
+ 'unicorn/text-encoding-identifier-case' : 'off' ,
161
+ } ,
162
+ } ,
158
163
{
159
164
files : [ 'test/**/*.spec.ts' ] ,
160
165
extends : [ 'plugin:vitest/recommended' ] ,
Original file line number Diff line number Diff line change @@ -359,7 +359,7 @@ async function main(): Promise<void> {
359
359
360
360
localizationLocales = await format ( localizationLocales , prettierMdOptions ) ;
361
361
362
- let localizationContent = readFileSync ( pathDocsGuideLocalization , 'utf-8 ' ) ;
362
+ let localizationContent = readFileSync ( pathDocsGuideLocalization , 'utf8 ' ) ;
363
363
localizationContent = localizationContent . replace (
364
364
/ ( ^ < ! - - L O C A L E S - A U T O - G E N E R A T E D - S T A R T - - > $ ) .* ( ^ < ! - - L O C A L E S - A U T O - G E N E R A T E D - E N D - - > $ ) / gms,
365
365
`$1\n\n<!-- Run '${ scriptCommand } ' to update. -->\n\n${ localizationLocales } \n$2`
You can’t perform that action at this time.
0 commit comments