mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 05:49:32 +02:00
Added a few more rules
This commit is contained in:
parent
c787b0b614
commit
abeea9d219
@ -67,8 +67,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