Skip to content

Commit b92f5eb

Browse files
committed
Update biome config
1 parent 7fcbfa2 commit b92f5eb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

biome.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,21 @@
5050
"allowComments": true,
5151
"allowTrailingCommas": true
5252
}
53+
},
54+
"linter": {
55+
"rules": {
56+
"style": {
57+
"noParameterAssign": "error",
58+
"useAsConstAssertion": "error",
59+
"useDefaultParameterLast": "error",
60+
"useEnumInitializers": "error",
61+
"useSelfClosingElements": "error",
62+
"useSingleVarDeclarator": "error",
63+
"noUnusedTemplateLiteral": "error",
64+
"useNumberNamespace": "error",
65+
"noInferrableTypes": "error",
66+
"noUselessElse": "error"
67+
}
68+
}
5369
}
5470
}

0 commit comments

Comments
 (0)