-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Right now the linter has all the rules embedded. A simpler way of managing the rules is to create independent files with each check and have them mapped.
Similar to what other linters do.
Requirements
- add a new class LintProblem with the properties used (e.g. line, end_line, description, etc.)
- split the lint rules into files below a
rules/
directory - load the lint rules dinamically from the rules directory. we can even add config levels for each rule, if neded
- every lint rule should
yield
an error each time we found one, effectively creating an iterator that is easy to use
Metadata
Metadata
Assignees
Labels
No labels