mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 23:13:42 +02:00
Added a few more rules
This commit is contained in:
parent
798a3072c1
commit
9e668c8638
@ -66,8 +66,11 @@
|
|||||||
"noPrivateImports": "error"
|
"noPrivateImports": "error"
|
||||||
},
|
},
|
||||||
"style": {
|
"style": {
|
||||||
|
"useCollapsedIf": "warn", // TODO: promote to "error" eventually
|
||||||
"noDoneCallback": "error",
|
"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
|
"useEnumInitializers": "off", // large enums like Moves/Species would make this cumbersome
|
||||||
"useBlockStatements": {
|
"useBlockStatements": {
|
||||||
"level": "error",
|
"level": "error",
|
||||||
|
Loading…
Reference in New Issue
Block a user