Getter for the registered environment linters. The result is sorted by the linter option name.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Queries the envLinterSnapshotExt to see if a given environment linter is enabled for the given
declaration.
Equations
- Lean.Linter.EnvLinter.isLinterEnabledFor env linter decl = match Lean.Linter.getEnvLinterSnapshotEntry? env decl linter.optName with | some b => b | none => false
Instances For
Runs all the specified linters on all the specified declarations in parallel, producing a list of results.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Sorts a map with declaration keys as names by line number.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formats a linter warning as #check command with comment.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formats a map of linter warnings using printWarning, sorted by line number.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formats a map of linter warnings grouped by filename with -- filename comments.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Formats the linter results as Lean code with comments and #check commands.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Get the list of declarations in the current module.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Get the list of all declarations in the environment.
Equations
- One or more equations did not get rendered due to their size.