leanprover-community / batteries

The "batteries included" extended library for the Lean programming language and theorem prover
Apache License 2.0
232 stars 95 forks source link

feat: allow configuring additional linters to run #881

Closed grunweg closed 1 month ago

grunweg commented 1 month ago

Extend getChecks to allow an additional list of linters, which is always run. This can be used downstream to e.g. enable the docBlameThm or explicitVarsOfIff linters without modifying batteries.

As part of this, we

grunweg commented 1 month ago

awaiting-review

grunweg commented 1 month ago

I just pushed a commit adding back the useOnly option as runOnly.