build: Format the English locale file with Prettier instead of Biome (#45913)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
IrénéeandClaude Opus 5.5 authored and GitHub committed 2026-12-01 13:07:34 +00:00
1 parent dc60e03427
commit e353cbfeed
4 files changed
+15 -3

No files matched your search

+2
View File
@@ -16,6 +16,8 @@ CHANGELOG.md
**/*.ts
**/*.js
**/*.json
# Over Biome's 1 MiB file size limit, so Prettier formats it
!packages/frontend/@n8n/i18n/src/locales/en.json
**/*.jsonc
# Auto-generated
+4 -1
View File
@@ -23,7 +23,10 @@
"packages/@n8n/hooks-api/api/**",
"api/v*.d.ts",
"**/benchmark/scripts/mock-api/**",
"**/expectations/**"
"**/expectations/**",
// Over Biome's 1 MiB file size limit. Prettier formats it (see `.prettierignore`).
// format:check runs inside the package, so its own `biome.jsonc` ignores it too.
"packages/frontend/@n8n/i18n/src/locales/en.json"
]
},
"formatter": {
+4 -1
View File
@@ -30,7 +30,10 @@ pre-commit:
- merge
- rebase
prettier_check:
glob: 'packages/**/*.{vue,yml,md,css,scss}'
glob:
- 'packages/**/*.{vue,yml,md,css,scss}'
# Biome ignores this file. See `.prettierignore`.
- 'packages/frontend/@n8n/i18n/src/locales/en.json'
run: pnpm prettier --write --ignore-unknown --no-error-on-unmatched-pattern {staged_files}
stage_fixed: true
skip:
+5 -1
View File
@@ -1,4 +1,8 @@
{
"$schema": "../../../../node_modules/@biomejs/biome/configuration_schema.json",
"extends": ["../../../../biome.jsonc"]
"extends": ["../../../../biome.jsonc"],
"files": {
// Over Biome's 1 MiB file size limit. Prettier formats it (see `.prettierignore`).
"ignore": ["src/locales/en.json"]
}
}