You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
It would be great to have a new rule "no-useless-override" which triggers a warning or error when you use an override to disable a rule. Very often you had an override for a special case but through various refactoring this override is not needed anymore and the less override the better has you do not want to add code in the future that won't trigger the linter warning/error because you forgot to remove the useless rule.
Having a rule that checks for non-used override would be great.
Actual behavior
No warnings
Expected behavior
ERROR in C:/Dev/components/data/Navigable.ts
(70,4): Override "prefer-function-over-method" is not needed. Remove the local override.
The text was updated successfully, but these errors were encountered:
Feature Request
TypeScript code being linted
with
tslint.json
configuration:Wanted Behavior
It would be great to have a new rule "no-useless-override" which triggers a warning or error when you use an override to disable a rule. Very often you had an override for a special case but through various refactoring this override is not needed anymore and the less override the better has you do not want to add code in the future that won't trigger the linter warning/error because you forgot to remove the useless rule.
Having a rule that checks for non-used override would be great.
Actual behavior
No warnings
Expected behavior
The text was updated successfully, but these errors were encountered: