I'm trying to implement a rule on array.findIndex() so that developer is enforced to check the findIndex value every time he uses it to splice the array.
I'm able to create the rule and it is showing the popup and also showing as error when i give ng lint.
But how can provide a fix to this issue?
if the fix is not provided then every time developer use the findIndex (even though check value is > 0 or not) he will get the error/warning in ng lint.
Kindly suggest if is any other work around to create or extent a lint rule on extentions.
Thanks
Top comments (0)