Skip to content

Commit 4e08839

Browse files
committed
fix: pre-commit don't check generated translation
Signed-off-by: Jack Ma <[email protected]>
1 parent 6afc924 commit 4e08839

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ repos:
4747
- id: mixed-line-ending
4848
- id: pretty-format-json
4949
args: [--autofix, --no-ensure-ascii]
50+
exclude: ^(i18n/en/code.json|i18n/en/docusaurus-plugin-content-blog/options.json|i18n/en/docusaurus-plugin-content-docs/current.json|i18n/en/docusaurus-theme-classic/footer.json|i18n/en/docusaurus-theme-classic/navbar.json)$
5051
- id: trailing-whitespace
5152
args: ["--markdown-linebreak-ext=md,mdx"]
5253
- repo: https://github.com/pre-commit/mirrors-prettier

0 commit comments

Comments
 (0)