struct

Ignorelint::FileResult

Inherits Struct < Value < Object

The lint result for a single file, ready for formatting.

Bundles the file path with its issues. The CLI creates one FileResult per file and passes it to the active Formatter.

This is a struct because it is a small, immutable data carrier — created once and passed to the formatter without modification.

Constructors

new(path : String, issues : Array(Issue))

Instance methods

issues

All issues found in this file (may be empty if the file is clean).

path

The file path (as given by the user or discovered by auto-discovery).