Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] report-unused-ignore-directives #468

Open
loynoir opened this issue Apr 25, 2023 · 0 comments
Open

[feat] report-unused-ignore-directives #468

loynoir opened this issue Apr 25, 2023 · 0 comments

Comments

@loynoir
Copy link

loynoir commented Apr 25, 2023

inspired by

eslint --report-unused-disable-directives

  • No error when
// eslint-disable-next-line foobar
BAD_CODE_WITH_FOOBAR_PROBLEM
  • Report error when
// eslint-disable-next-line foobar
GOOD_CODE_WITHOUT_FOOBAR_PROBLEM

feat

report-unused-ignore-directive

  • No error when
/* c8 ignore next */
NOT_REPRODUCIBLE_CODE
  • Report error when
/* c8 ignore next */
REPRODUCIBLE_CODE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant