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

How should linter extensions handle exceptions? #80

Open
cfournie opened this issue Jul 17, 2017 · 0 comments
Open

How should linter extensions handle exceptions? #80

cfournie opened this issue Jul 17, 2017 · 0 comments

Comments

@cfournie
Copy link
Contributor

Disabling a linter message doesn't disable the check for such a linter rule. If such a linter rule check throws an exception because it wasn't well tested, then the entire linter is unusable. How should we deal with this?

There are two main proposals:

  • Allow exceptions to be raised and be fixed in a new release (and recommend not upgrading to a faulty version); or
  • Surround everything within a try-catch and report exceptions as false-positives with a custom message
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