This commit is contained in:
David Anson 2025-09-19 22:03:06 -07:00
parent 6ab5bc3226
commit 996c0f6b27
7 changed files with 1507 additions and 753 deletions

View file

@ -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(