summaryrefslogtreecommitdiff
path: root/client/simple/biome.json
diff options
context:
space:
mode:
Diffstat (limited to 'client/simple/biome.json')
-rw-r--r--client/simple/biome.json24
1 files changed, 22 insertions, 2 deletions
diff --git a/client/simple/biome.json b/client/simple/biome.json
index 4571f0f79..31f75da8b 100644
--- a/client/simple/biome.json
+++ b/client/simple/biome.json
@@ -1,8 +1,8 @@
{
- "$schema": "https://biomejs.dev/schemas/2.2.7/schema.json",
+ "$schema": "https://biomejs.dev/schemas/2.3.2/schema.json",
"files": {
"ignoreUnknown": true,
- "includes": ["**", "!dist", "!node_modules"]
+ "includes": ["**", "!!node_modules"]
},
"assist": {
"enabled": true,
@@ -48,6 +48,7 @@
"nursery": {
"noDeprecatedImports": "warn",
"noImportCycles": "warn",
+ "noIncrementDecrement": "warn",
"noMisusedPromises": "warn",
"noUselessCatchBinding": "warn",
"noUselessUndefined": "warn",
@@ -65,6 +66,7 @@
"style": {
"noCommonJs": "error",
"noEnum": "error",
+ "noImplicitBoolean": "error",
"noInferrableTypes": "error",
"noNamespace": "error",
"noNegationElse": "error",
@@ -97,6 +99,7 @@
}
},
"useConsistentBuiltinInstantiation": "error",
+ "useConsistentCurlyBraces": "error",
"useConsistentMemberAccessibility": {
"level": "error",
"options": {
@@ -109,6 +112,12 @@
"syntax": "explicit"
}
},
+ "useConsistentTypeDefinitions": {
+ "level": "error",
+ "options": {
+ "style": "type"
+ }
+ },
"useDefaultSwitchClause": "error",
"useExplicitLengthCheck": "error",
"useForOf": "error",
@@ -117,6 +126,7 @@
"useNumericSeparators": "error",
"useObjectSpread": "error",
"useReadonlyClassProperties": "error",
+ "useSelfClosingElements": "error",
"useShorthandAssign": "error",
"useSingleVarDeclarator": "error",
"useThrowNewError": "error",
@@ -146,5 +156,15 @@
"semicolons": "always",
"trailingCommas": "none"
}
+ },
+ "html": {
+ "experimentalFullSupportEnabled": true,
+ "formatter": {
+ "attributePosition": "auto",
+ "bracketSameLine": false,
+ "whitespaceSensitivity": "ignore",
+ "indentScriptAndStyle": true,
+ "selfCloseVoidElements": "always"
+ }
}
}