mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 07:23:24 +02:00
modify biome.jsonc
This commit is contained in:
parent
85624561b7
commit
495dd9cabe
12
biome.jsonc
12
biome.jsonc
@ -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?
|
||||
|
Loading…
Reference in New Issue
Block a user