Who needs a linter that manually parses everything when the compiler can do the parsing? No more accidental language version mismatches, no more buggy linter parsing. In addition, linters can play with type information, since the compiler provides it for free.
As far as I'm aware, only C# (Roslyn) and Haskell (GHC) support this kind of linting right now.
View all comments
Show parent comment
2
u/ThePyroEagle λ Mar 07 '20
It's even better when it's compiler-assisted linting.
Who needs a linter that manually parses everything when the compiler can do the parsing? No more accidental language version mismatches, no more buggy linter parsing. In addition, linters can play with type information, since the compiler provides it for free.
As far as I'm aware, only C# (Roslyn) and Haskell (GHC) support this kind of linting right now.