Skip to content

Commit e7f4b3e

Browse files
committed
fix biomejs when you open from root
1 parent db42980 commit e7f4b3e

File tree

3 files changed

+42
-78
lines changed

3 files changed

+42
-78
lines changed

biome.jsonc

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true
7+
},
8+
"files": { "ignoreUnknown": false },
9+
"formatter": {
10+
"enabled": true,
11+
"formatWithErrors": false,
12+
"indentStyle": "space",
13+
"indentWidth": 2,
14+
"lineEnding": "lf",
15+
"lineWidth": 120,
16+
"useEditorconfig": true
17+
},
18+
"linter": {
19+
"enabled": true,
20+
"rules": { "recommended": true },
21+
"domains": {
22+
"react": "recommended"
23+
}
24+
},
25+
"javascript": {
26+
"formatter": {
27+
"jsxQuoteStyle": "double",
28+
"quoteProperties": "asNeeded",
29+
"trailingCommas": "all",
30+
"semicolons": "always",
31+
"arrowParentheses": "always",
32+
"quoteStyle": "single"
33+
}
34+
},
35+
"html": { "formatter": { "selfCloseVoidElements": "always" } },
36+
"assist": {
37+
"enabled": true,
38+
"actions": { "source": { "organizeImports": "on" } }
39+
}
40+
}

shell-ui/biome.json

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,3 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
3-
"vcs": {
4-
"enabled": true,
5-
"clientKind": "git",
6-
"useIgnoreFile": true
7-
},
8-
"files": { "ignoreUnknown": false },
9-
"formatter": {
10-
"enabled": true,
11-
"formatWithErrors": false,
12-
"indentStyle": "space",
13-
"indentWidth": 2,
14-
"lineEnding": "lf",
15-
"lineWidth": 120,
16-
"useEditorconfig": true
17-
},
18-
"linter": {
19-
"enabled": true,
20-
"rules": { "recommended": true },
21-
"domains": {
22-
"next": "recommended",
23-
"react": "recommended"
24-
}
25-
},
26-
"javascript": {
27-
"formatter": {
28-
"jsxQuoteStyle": "double",
29-
"quoteProperties": "asNeeded",
30-
"trailingCommas": "all",
31-
"semicolons": "always",
32-
"arrowParentheses": "always",
33-
"quoteStyle": "single"
34-
}
35-
},
36-
"html": { "formatter": { "selfCloseVoidElements": "always" } },
37-
"assist": {
38-
"enabled": true,
39-
"actions": { "source": { "organizeImports": "on" } }
40-
}
2+
"extends": "//"
413
}

ui/biome.json

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,3 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
3-
"vcs": {
4-
"enabled": true,
5-
"clientKind": "git",
6-
"useIgnoreFile": true
7-
},
8-
"files": { "ignoreUnknown": false },
9-
"formatter": {
10-
"enabled": true,
11-
"formatWithErrors": false,
12-
"indentStyle": "space",
13-
"indentWidth": 2,
14-
"lineEnding": "lf",
15-
"lineWidth": 120,
16-
"useEditorconfig": true
17-
},
18-
"linter": {
19-
"enabled": true,
20-
"rules": { "recommended": true },
21-
"domains": {
22-
"next": "recommended",
23-
"react": "recommended"
24-
}
25-
},
26-
"javascript": {
27-
"formatter": {
28-
"jsxQuoteStyle": "double",
29-
"quoteProperties": "asNeeded",
30-
"trailingCommas": "all",
31-
"semicolons": "always",
32-
"arrowParentheses": "always",
33-
"quoteStyle": "single"
34-
}
35-
},
36-
"html": { "formatter": { "selfCloseVoidElements": "always" } },
37-
"assist": {
38-
"enabled": true,
39-
"actions": { "source": { "organizeImports": "on" } }
40-
}
2+
"extends": "//"
413
}

0 commit comments

Comments
 (0)