style: change biome sort order to natural and clean up i18next config
- Update biome.jsonc to use natural sort order for keys - Clean up i18next.config.ts formatting and remove trailing newline
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@
|
||||
"useSortedKeys": {
|
||||
"level": "on",
|
||||
"options": {
|
||||
"sortOrder": "lexicographic"
|
||||
"sortOrder": "natural"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5
-9
@@ -1,13 +1,9 @@
|
||||
import { defineConfig } from 'i18next-cli';
|
||||
import { defineConfig } from 'i18next-cli'
|
||||
|
||||
export default defineConfig({
|
||||
locales: [
|
||||
"en-us",
|
||||
"zh-cn",
|
||||
"zh-tw"
|
||||
],
|
||||
locales: ['en-us', 'zh-cn', 'zh-tw'],
|
||||
extract: {
|
||||
input: "src/renderer/src/**/*.{ts,tsx}",
|
||||
output: "src/renderer/src/i18n/locales/{{language}}.json"
|
||||
input: 'src/renderer/src/**/*.{ts,tsx}',
|
||||
output: 'src/renderer/src/i18n/locales/{{language}}.json'
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user