Added a few more rules

This commit is contained in:
Bertie690 2025-08-13 10:26:26 -04:00 committed by GitHub
parent c787b0b614
commit abeea9d219
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,8 +67,11 @@
"noPrivateImports": "error"
},
"style": {
"useCollapsedIf": "warn", // TODO: promote to "error" eventually
"noDoneCallback": "error",
"useForOf": "error",
"noSubstr": "error",
"noYoda": "warn", // TODO: Fix and promote to "error"
"useForOf": "warn", // TODO: Fix and promote to "error"
"useEnumInitializers": "off", // large enums like Moves/Species would make this cumbersome
"useBlockStatements": {
"level": "error",