Construct a simple linter error and immediately throw it to stderr
Construct a simple linter note and immediately throw it to stderr
Construct a simple linter warning and immediately throw it to stderr
A diagnostic message that can give information like errors or warnings.
A structure for converting user facing markdown docs to ANSI colored terminal explanations.
The structure for managing IO to and from the core runner. The walker uses multithreaded IO, spawning a thread for every file being loaded.
A structure representing either a concrete (in-disk) or virtual (temporary/non-disk) js or mjs file.
The overall result of running a single rule or linting a file.
A severity level for diagnostic messages.
The name of the config file to search for.
Remap each error diagnostic to a warning diagnostic based on the rule's level. this leaves warnings untouched because rules should be able to emit errors and warnings for context without the warnings being remapped to errors.