modify biome.jsonc

This commit is contained in:
Bertie690 2025-08-23 00:17:37 -04:00 committed by Sirz Benjie
parent 85624561b7
commit 495dd9cabe
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -71,7 +71,11 @@
// TODO: Fix all instances of this and promote to `error` - this and enums are the 2 things
// barring us from `esModuleInterop`
"noParameterProperties": "warn",
"useConsistentBuiltinInstantiation": "error",
"useConsistentBuiltinInstantiation": {
"level": "error",
"fix": "safe",
"options": {}
},
"noDefaultExport": "warn", // TODO: Fix `overrides.ts` and enable
"noShoutyConstants": "error",
"useThrowNewError": {
@ -143,9 +147,9 @@
},
"suspicious": {
"useErrorMessage": "error",
"noEvolvingTypes": "error", // TODO: Review and enable ASAP - this is VERY VERY BAD
"noEvolvingTypes": "warn", // TODO: Review and enable ASAP - this is VERY VERY BAD
"useNumberToFixedDigitsArgument": "error",
"useGuardForIn": "error",
"useGuardForIn": "warn", // TODO: Review and enable ASAP - this is EVEN FRICKING WORSE
"noDoubleEquals": "error",
// While this would be a nice rule to enable, the current structure of the codebase makes this infeasible
// due to being used for move/ability `args` params and save data-related code.
@ -166,7 +170,7 @@
},
"complexity": {
"useWhile": "error",
"noVoid": "error",
"noVoid": "warn", // TODO: Review and enable ASAP - this is also bad
"noUselessStringConcat": "error",
"noExcessiveCognitiveComplexity": "info", // TODO: Refactor and make this an error
"useLiteralKeys": "off", // TODO: enable?