And it’s a bunch of things that are pretty tricky to do with a traditional linter that’s based on static analysis. So for example, it’ll check for spelling mistakes, but also checks that code matches comments. It also checks that, you know, we use a particular library for network fetches instead of the built-in library. There’s a bunch of these specific things that we check that are pretty difficult to express just with lint.

And in theory, you can go in and, you know, write a bunch of lint rules for this. Some of it you could cover, some of it you probably couldn’t. But honestly, it’s much easier to just write a one bullet in markdown in a local command and just commit that.

A semantic linter is a very cool concept.

You can subscribe or follow and reply through those channels.


Keyboard Shortcuts

Key Action
o Source
e Edit
i Insight
r Random
h Home
s or / Search
www.joshbeckman.org/notes/888705369