Skip to content

How should linter extensions handle exceptions? #80

@cfournie

Description

@cfournie

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions