You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experimenting with an F# linter, Flinter. Like most linters, it will have quite a lot of rules.
Should I implement each rule as a separate analyzer, or should I implement one analyzer for the entire linter and then delegate work internally? I'm currently leaning toward the former, but that decision is not based on a lot of information.
This may need to be seen in light of other issues like #8, and may not make sense to consider at the moment. Still, I wanted to post the question here, at least just for future consideration and to make it easier to "keep in the back of the head" while working on other features like #8.
Any input is welcome.
The text was updated successfully, but these errors were encountered:
cmeeren
changed the title
One analyzer with multiple messages, or multiple analyzers?
One analyzer with multiple messages/codes, or multiple analyzers?
Jan 2, 2023
I'm experimenting with an F# linter, Flinter. Like most linters, it will have quite a lot of rules.
Should I implement each rule as a separate analyzer, or should I implement one analyzer for the entire linter and then delegate work internally? I'm currently leaning toward the former, but that decision is not based on a lot of information.
This may need to be seen in light of other issues like #8, and may not make sense to consider at the moment. Still, I wanted to post the question here, at least just for future consideration and to make it easier to "keep in the back of the head" while working on other features like #8.
Any input is welcome.
The text was updated successfully, but these errors were encountered: