Skip to content

Commit 96a2b1c

Browse files
committed
feat(biome): flagging noUselessCatch as an explicit error
1 parent 24e7061 commit 96a2b1c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/standards/biome.jsonc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
},
1414
"rules": {
1515
"recommended": true,
16+
"complexity": {
17+
// By default `noUselessCatch` is reported as an `info` and doesn't cause failures.
18+
"noUselessCatch": "error",
19+
},
1620
"correctness": {
1721
"noUnusedFunctionParameters": "off",
1822
"noUnusedVariables": {

0 commit comments

Comments
 (0)