Closed ChrisMBarr closed 48 minutes ago
probably easier just to disable the rule for these cases. But feel free to submit a PR if you get a chance
It's not possible to disable the rule on a per-line or even a per-file basis since it throws errors due to it not being able to parse my code. The only solution is to disable it entirely for the project for now
In a DTO, using a type of
Array<unknown>
orArray<any>
orArray<object>
completely errors out this ruleHere's some example code that causes it to fail
But changing to use a more "normal" type allow the rule to not break... but of course now it doesn't match my usage in the app.
This should not break the rule, even if the rule can't make a good recommendation here.