Added a few more rules

This commit is contained in:
Bertie690 2025-08-13 10:26:26 -04:00 committed by Sirz Benjie
parent 798a3072c1
commit 9e668c8638
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -66,8 +66,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",