mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-21 08:20:12 +01:00
Add error/warning severity property to LintError object.
This commit is contained in:
parent
9898379a68
commit
a1785270fa
16 changed files with 4077 additions and 909 deletions
|
|
@ -463,6 +463,10 @@ export type LintError = {
|
|||
* Fix information.
|
||||
*/
|
||||
fixInfo: FixInfo | null;
|
||||
/**
|
||||
* Severity of the error.
|
||||
*/
|
||||
severity: "error" | "warning";
|
||||
};
|
||||
/**
|
||||
* Fix information.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue