Skip to content

Commit fee953e

Browse files
committed
Update biome config
1 parent 4dab945 commit fee953e

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
@@ -45,5 +45,21 @@
4545
"allowComments": true,
4646
"allowTrailingCommas": true
4747
}
48+
},
49+
"linter": {
50+
"rules": {
51+
"style": {
52+
"noParameterAssign": "error",
53+
"useAsConstAssertion": "error",
54+
"useDefaultParameterLast": "error",
55+
"useEnumInitializers": "error",
56+
"useSelfClosingElements": "error",
57+
"useSingleVarDeclarator": "error",
58+
"noUnusedTemplateLiteral": "error",
59+
"useNumberNamespace": "error",
60+
"noInferrableTypes": "error",
61+
"noUselessElse": "error"
62+
}
63+
}
4864
}
4965
}

0 commit comments

Comments
 (0)