chore: update schema version and format JSON structure in biome.json (#9289)
This commit is contained in:
parent
18e2ff2d2d
commit
c8ac453601
1 changed files with 22 additions and 6 deletions
|
|
@ -1,13 +1,19 @@
|
||||||
{
|
{
|
||||||
"$schema": "https://biomejs.dev/schemas/2.1.1/schema.json",
|
"$schema": "https://biomejs.dev/schemas/2.1.2/schema.json",
|
||||||
"vcs": {
|
"vcs": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"clientKind": "git",
|
"clientKind": "git",
|
||||||
"useIgnoreFile": true,
|
"useIgnoreFile": true,
|
||||||
"defaultBranch": "main"
|
"defaultBranch": "main"
|
||||||
},
|
},
|
||||||
"files": { "ignoreUnknown": false },
|
"files": {
|
||||||
"formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2 },
|
"ignoreUnknown": false
|
||||||
|
},
|
||||||
|
"formatter": {
|
||||||
|
"enabled": true,
|
||||||
|
"indentStyle": "space",
|
||||||
|
"indentWidth": 2
|
||||||
|
},
|
||||||
"linter": {
|
"linter": {
|
||||||
"domains": {
|
"domains": {
|
||||||
"test": "recommended"
|
"test": "recommended"
|
||||||
|
|
@ -15,7 +21,9 @@
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"rules": {
|
"rules": {
|
||||||
"recommended": false,
|
"recommended": false,
|
||||||
"a11y": { "noStaticElementInteractions": "warn" },
|
"a11y": {
|
||||||
|
"noStaticElementInteractions": "warn"
|
||||||
|
},
|
||||||
"complexity": {
|
"complexity": {
|
||||||
"noAdjacentSpacesInRegex": "error",
|
"noAdjacentSpacesInRegex": "error",
|
||||||
"noExtraBooleanCast": "error",
|
"noExtraBooleanCast": "error",
|
||||||
|
|
@ -82,9 +90,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"javascript": { "formatter": { "quoteStyle": "double" } },
|
"javascript": {
|
||||||
|
"formatter": {
|
||||||
|
"quoteStyle": "double"
|
||||||
|
}
|
||||||
|
},
|
||||||
"assist": {
|
"assist": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"actions": { "source": { "organizeImports": "on" } }
|
"actions": {
|
||||||
|
"source": {
|
||||||
|
"organizeImports": "on"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue