Skip to content

Commit 24bda6f

Browse files
committed
Hoist up the biome config and use it for syn2mas
1 parent 60e3b19 commit 24bda6f

26 files changed

+886
-5378
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ root = true
44
charset=utf-8
55
end_of_line = lf
66

7-
[*.{ts,tsx,js,cjs,mjs,css,json,graphql}]
7+
[*.{ts,tsx,cts,mts,js,cjs,mjs,css,json,graphql}]
88
indent_style = space
99
indent_size = 2
1010
insert_final_newline = true

biome.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"organizeImports": {
4+
"enabled": true
5+
},
6+
"vcs": {
7+
"enabled": true,
8+
"clientKind": "git",
9+
"useIgnoreFile": true
10+
},
11+
"files": {
12+
"ignore": [
13+
".devcontainer/**",
14+
"docs/**",
15+
"translations/**",
16+
"policies/**",
17+
"crates/**",
18+
"frontend/src/gql/**",
19+
"frontend/src/routeTree.gen.ts",
20+
"**/coverage/**",
21+
"**/dist/**"
22+
]
23+
},
24+
"formatter": {
25+
"enabled": true,
26+
"useEditorconfig": true,
27+
"ignore": ["frontend/.storybook/locales.ts", "frontend/locales/*.json"]
28+
},
29+
"linter": {
30+
"enabled": true,
31+
"rules": {
32+
"recommended": true
33+
}
34+
}
35+
}

frontend/biome.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

localazy.json

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,30 @@
33
"readKey": "a7633943728394577700-c0f9f1df124fbdbe76b2c7dfcbfe574476d56509e0da6180e2a321dbbe056c40",
44
"upload": {
55
"type": "json",
6-
"files": [{
7-
"file": "file.json",
8-
"pattern": "translations/en.json",
9-
"features": [
10-
"arb_metadata",
11-
"plural_object"
12-
]
13-
}, {
14-
"file": "frontend.json",
15-
"pattern": "frontend/locales/en.json",
16-
"features": ["plural_postfix_dd"]
17-
}]
6+
"files": [
7+
{
8+
"file": "file.json",
9+
"pattern": "translations/en.json",
10+
"features": ["arb_metadata", "plural_object"]
11+
},
12+
{
13+
"file": "frontend.json",
14+
"pattern": "frontend/locales/en.json",
15+
"features": ["plural_postfix_dd"]
16+
}
17+
]
1818
},
1919
"download": {
2020
"metadataFileTs": "frontend/.storybook/locales.ts",
21-
"files": [{
22-
"conditions": "equals: ${file}, file.json",
23-
"output": "translations/${lang}.json"
24-
}, {
25-
"conditions": "equals: ${file}, frontend.json",
26-
"output": "frontend/locales/${lang}.json"
27-
}]
21+
"files": [
22+
{
23+
"conditions": "equals: ${file}, file.json",
24+
"output": "translations/${lang}.json"
25+
},
26+
{
27+
"conditions": "equals: ${file}, frontend.json",
28+
"output": "frontend/locales/${lang}.json"
29+
}
30+
]
2831
}
2932
}

tools/syn2mas/.eslintrc.cjs

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)