mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Add "enabled" and "severity"/"warning" to rule in Configuration object, add corresponding documentation and tests, update demo web app (fixes #254)”.
This commit is contained in:
parent
c6f248321e
commit
607be34b5d
20 changed files with 3792 additions and 867 deletions
58
test/configure-file-with-severity-alias.md
Normal file
58
test/configure-file-with-severity-alias.md
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
# Configure File With Severity Alias
|
||||
|
||||
Text * text* {MD037}
|
||||
|
||||
Text ` text` {MD038}
|
||||
|
||||
Text [ text](.)
|
||||
|
||||
+ List item {MD004}
|
||||
|
||||
Text (text)[.] {MD011}
|
||||
|
||||
2. List item
|
||||
|
||||
<!-- markdownlint-disable -->
|
||||
|
||||
Text * text*
|
||||
|
||||
Text ` text`
|
||||
|
||||
Text [ text](.)
|
||||
|
||||
+ List item
|
||||
|
||||
Text (text)[.]
|
||||
|
||||
2. List item
|
||||
|
||||
<!-- markdownlint-restore -->
|
||||
|
||||
Text * text* {MD037}
|
||||
|
||||
Text ` text` {MD038}
|
||||
|
||||
Text [ text](.)
|
||||
|
||||
+ List item {MD004}
|
||||
|
||||
Text (text)[.] {MD011}
|
||||
|
||||
2. List item
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"default": false,
|
||||
"no-space-in-emphasis": "error",
|
||||
"no-space-in-code": "warning",
|
||||
"no-space-in-links": false,
|
||||
"ul-style": {
|
||||
"severity": "error",
|
||||
"style": "dash"
|
||||
},
|
||||
"no-reversed-links": {
|
||||
"severity": "warning"
|
||||
},
|
||||
"ol-prefix": {
|
||||
"enabled": false
|
||||
}
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue