Add error/warning severity property to LintError object.

This commit is contained in:
David Anson 2025-09-11 20:34:24 -07:00
parent 2954fee86c
commit 8b31b70776
15 changed files with 4067 additions and 903 deletions

View file

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