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.
3
u/gregoryw3 Mar 06 '20
Sauce?
46
u/BakuhatsuK Mar 06 '20
Linters are love, linters are life. If you program on an interpreted language you have to have a linter.
Even if you use a compiled language. Having as much static analysis as possible is always a good thing.
1
u/Leviticoh Mar 17 '20
what is a linter?
i hope this is not a duplicate question
1
u/olivetho May 16 '20
i need to watch bofuri