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 @@ -81,7 +81,6 @@ module.exports = defineConfig({
81
81
'unicorn/prevent-abbreviations' : 'off' ,
82
82
'unicorn/require-array-join-separator' : 'off' ,
83
83
'unicorn/switch-case-braces' : 'off' ,
84
- 'unicorn/text-encoding-identifier-case' : 'off' ,
85
84
86
85
'@typescript-eslint/array-type' : [
87
86
'error' ,
@@ -158,6 +157,12 @@ module.exports = defineConfig({
158
157
'jsdoc/require-jsdoc' : 'error' ,
159
158
} ,
160
159
} ,
160
+ {
161
+ files : [ 'src/locales/**/*.ts' ] ,
162
+ rules : {
163
+ 'unicorn/text-encoding-identifier-case' : 'off' ,
164
+ } ,
165
+ } ,
161
166
{
162
167
files : [ 'test/**/*.spec.ts' ] ,
163
168
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