Add error/warning severity property to LintError object.

This commit is contained in:
David Anson 2025-09-11 20:34:24 -07:00
parent 82f7f6a2f9
commit d420a324eb
16 changed files with 4079 additions and 910 deletions

View file

@ -463,6 +463,10 @@ export type LintError = {
* Fix information.
*/
fixInfo: FixInfo | null;
/**
* Severity of the error.
*/
severity: "error" | "warning";
};
/**
* Fix information.