- linter : Name
- message : SerialMessage
- file : String
Instances For
Equations
- Lean.Linter.getAllLints env = Array.mapIdx (fun (i : Nat) (mod : Lean.Name) => (mod, Lean.Linter.lintLogExt.getModuleEntries env i)) env.header.moduleNames
Instances For
@[implicit_reducible]
Equations
- Lean.Linter.instMonadFileMapReaderTFileMapBaseIO = { getFileMap := read }
def
Lean.Linter.recordLints
(fileMap : FileMap)
(env : Environment)
(commandLints : Array (Option Syntax × MessageLog))
:
Records linter warnings and looks up positions of their associated commands from a build
into lintLogExt so that consumers (e.g. lake lint) can recover them from the .olean.
Equations
- One or more equations did not get rendered due to their size.