Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Warn on unused disables #2679

Closed
andy-hanson opened this issue May 4, 2017 · 1 comment
Closed

Warn on unused disables #2679

andy-hanson opened this issue May 4, 2017 · 1 comment

Comments

@andy-hanson
Copy link
Contributor

When there is a // tslint:disable-line foo-rule comment, we should verify that foo-rule has a failure on that line. Similar for disable-next-line.
For // tslint:disable we should verify that at least one rule has a failure in the disabled range.

Depends on #2369, since if we're doing this, we can't allow rules to do anything "smart" with the disable intervals.

@adidahiya
Copy link
Contributor

dupe of #1330

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants