mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-03-04 17:40:16 +01:00
wip
This commit is contained in:
parent
6ab5bc3226
commit
996c0f6b27
7 changed files with 1507 additions and 753 deletions
|
|
@ -282,6 +282,22 @@ test("defaultOff", getConfigTestImplementation(
|
|||
configTestExpected13511
|
||||
));
|
||||
|
||||
test("defaultMultipleTrue", getConfigTestImplementation(
|
||||
{
|
||||
"default": true,
|
||||
"DEFAULT": false
|
||||
},
|
||||
configTestExpected13511
|
||||
));
|
||||
|
||||
test("defaultMultipleFalse", getConfigTestImplementation(
|
||||
{
|
||||
"DEFAULT": false,
|
||||
"default": true
|
||||
},
|
||||
configTestExpected
|
||||
));
|
||||
|
||||
test("disableRules", getConfigTestImplementation(
|
||||
{
|
||||
"default": true,
|
||||
|
|
@ -411,12 +427,10 @@ test("enableRulesObjectError", getConfigTestImplementation(
|
|||
test("enableRulesObjectWarning", getConfigTestImplementation(
|
||||
{
|
||||
"MD041": {
|
||||
// @ts-ignore
|
||||
"severity": "warning"
|
||||
},
|
||||
"default": false,
|
||||
"no-multiple-space-atx": {
|
||||
// @ts-ignore
|
||||
"severity": "warning"
|
||||
},
|
||||
"extra": {
|
||||
|
|
@ -429,19 +443,17 @@ test("enableRulesObjectWarning", getConfigTestImplementation(
|
|||
test("enableRulesObjectOff", getConfigTestImplementation(
|
||||
{
|
||||
"MD041": {
|
||||
// @ts-ignore
|
||||
"severity": "off"
|
||||
},
|
||||
"default": false,
|
||||
"default": true,
|
||||
"no-multiple-space-atx": {
|
||||
// @ts-ignore
|
||||
"severity": "off"
|
||||
},
|
||||
"extra": {
|
||||
"severity": "off"
|
||||
}
|
||||
},
|
||||
configTestExpected3511
|
||||
configTestExpected1
|
||||
));
|
||||
|
||||
test("disableTag", getConfigTestImplementation(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue