Skip to content

Commit 59e2d7f

Browse files
committed
pre-commit add Biome auto format ui/public/locales JSON
1 parent f417c6b commit 59e2d7f

File tree

19 files changed

+29267
-29244
lines changed

19 files changed

+29267
-29244
lines changed

.github/linters/biome.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
3+
"formatter": {
4+
"indentStyle": "space",
5+
"indentWidth": 2
6+
},
7+
"linter": {
8+
"rules": {
9+
"suspicious": {
10+
"noDuplicateObjectKeys": "off"
11+
}
12+
}
13+
}
14+
}

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ repos:
3131
- id: doctoc
3232
name: Add TOC for Markdown files
3333
files: ^CONTRIBUTING\.md$|^INSTALL\.md$|^README\.md$
34+
- repo: https://github.com/biomejs/pre-commit
35+
rev: v0.6.1
36+
hooks:
37+
- id: biome-check
38+
name: run biome-check
39+
description: format, lint, and more in a fraction of a second
40+
files: ^ui/public/locales/.*\.json$
41+
args: [--config-path=.github/linters/biome.json]
42+
additional_dependencies: ["@biomejs/[email protected]"]
3443
- repo: https://github.com/oxipng/oxipng
3544
rev: v9.1.5
3645
hooks:

ui/public/locales/ar.json

Lines changed: 1479 additions & 1479 deletions
Large diffs are not rendered by default.

ui/public/locales/ca.json

Lines changed: 1479 additions & 1479 deletions
Large diffs are not rendered by default.

ui/public/locales/de_DE.json

Lines changed: 2197 additions & 2197 deletions
Large diffs are not rendered by default.

ui/public/locales/el_GR.json

Lines changed: 2719 additions & 2719 deletions
Large diffs are not rendered by default.

ui/public/locales/en.json

Lines changed: 4129 additions & 4129 deletions
Large diffs are not rendered by default.

ui/public/locales/es.json

Lines changed: 1512 additions & 1512 deletions
Large diffs are not rendered by default.

ui/public/locales/fr_FR.json

Lines changed: 1481 additions & 1481 deletions
Large diffs are not rendered by default.

ui/public/locales/hi.json

Lines changed: 462 additions & 462 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)