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:
icarus 2025-10-23 13:27:26 +08:00
parent 3677a34ceb
commit 311a229ab7
2 changed files with 6 additions and 10 deletions

View File

@ -8,7 +8,7 @@
"useSortedKeys": {
"level": "on",
"options": {
"sortOrder": "lexicographic"
"sortOrder": "natural"
}
}
}

View File

@ -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'
}
});
})