Skip to content

Commit 648e69f

Browse files
committed
chore(biome): downgrade noNonNullAssertion to warning
Non-null assertions are sometimes necessary after length checks where TypeScript can't infer the value exists. Treat as warnings rather than errors to avoid noise while maintaining visibility.
1 parent 09a15f5 commit 648e69f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

biome.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
"linter": {
1717
"enabled": true,
1818
"rules": {
19-
"recommended": true
19+
"recommended": true,
20+
"style": {
21+
"noNonNullAssertion": "warn"
22+
}
2023
}
2124
},
2225
"overrides": [

0 commit comments

Comments
 (0)