Verbosity for the linter output.
- low : LintVerbosity
low: only print failing checks, print nothing on success. - medium : LintVerbosity
medium: only print failing checks, print confirmation on success. - high : LintVerbosity
high: print output of every check.
Instances For
Instances For
getChecks produces a list of linters to run.
If runOnly is populated, only those named linters are run (regardless of scope).
Otherwise, linter selection depends on scope:
default: only linters withisDefault = trueextra: linters withisDefault = truetogether with linters withisDefault = falseall: all linters
Instances For
Runs all the specified linters on all the specified declarations in parallel, producing a list of results.
Instances For
Sorts a map with declaration keys as names by line number.
Instances For
Formats a linter warning as #check command with comment.
Instances For
Formats a map of linter warnings using printWarning, sorted by line number.
Instances For
Formats a map of linter warnings grouped by filename with -- filename comments.
Instances For
Formats the linter results as Lean code with comments and #check commands.
Instances For
Get the list of declarations in the current module.
Instances For
Get the list of all declarations in the environment.