Testomat.io’s Lintobot lets teams write lint rules in plain language. A rule about needless comments can go to Jev. A file-length limit can run locally, since the linter already knows how many lines the file has.
Turn a rule into a question and a score
- The question builder treats “no magic numbers” as a detection question: a high yes score means a likely violation. For a rule written as an assertion, the linter flips the yes score. Custom wording leaves that direction unchanged.
- The planner groups questions that share the same slice of code and context. On a large file, a whole-file question sees an outline and the start of the file. A reported range points to the chunk that raised the score, rather than the line that caused it.
Decide what to do with the score in code
- The engine uses the highest violation score across answered chunks. It can still raise a finding if another chunk went unanswered, but an otherwise clean result with missing answers is marked skipped.
- A typed score can be well formed and still wrong. Before turning a model rule into a blocking check, compare its flags with examples your team has labeled. Keep deterministic checks for things you can measure directly.
Caveat: We inspected the code without running the linter. The project describes its scores as uncalibrated, and live checks send source code and any configured context to the chosen provider.