mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-19 23:40:12 +01:00
Add error/warning severity property to LintError object.
This commit is contained in:
parent
82f7f6a2f9
commit
d420a324eb
16 changed files with 4079 additions and 910 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