wip
Some checks are pending
Checkers / linkcheck (push) Waiting to run
Checkers / spellcheck (push) Waiting to run
CI / build (20, macos-latest) (push) Waiting to run
CI / build (20, ubuntu-latest) (push) Waiting to run
CI / build (20, windows-latest) (push) Waiting to run
CI / build (22, macos-latest) (push) Waiting to run
CI / build (22, ubuntu-latest) (push) Waiting to run
CI / build (22, windows-latest) (push) Waiting to run
CI / build (24, macos-latest) (push) Waiting to run
CI / build (24, ubuntu-latest) (push) Waiting to run
CI / build (24, windows-latest) (push) Waiting to run
CI / pnpm (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
TestRepos / build (latest, ubuntu-latest) (push) Waiting to run
UpdateTestRepos / update (push) Waiting to run

This commit is contained in:
David Anson 2025-09-19 22:03:06 -07:00
parent 05509da984
commit 8021c087d4
7 changed files with 1507 additions and 753 deletions

View file

@ -30,7 +30,8 @@ const schema = {
"description": "Default state for all rules",
"oneOf": [
{ "type": "boolean" },
{ "enum": [ "error" ] }
// "off" not (yet) supported because behavior of older versions would be to enable
{ "enum": [ "error", "warning" ] }
],
"default": true
},
@ -66,7 +67,8 @@ for (const rule of rules) {
`${rule.names.join("/")} : ${rule.description} : ${rule.information}`,
"oneOf": [
{ "type": "boolean" },
{ "enum": [ "error" ] }
// "off" not (yet) supported because behavior of older versions would be to enable
{ "enum": [ "error", "warning" ] }
],
"default": true
};
@ -77,9 +79,7 @@ for (const rule of rules) {
"severity": {
"description": "Rule severity",
"type": "string",
"enum": [
"error"
],
"enum": [ "error", "warning", "off" ],
"default": "error"
}
}
@ -656,7 +656,8 @@ for (const [ tag, tagTags ] of Object.entries(tags)) {
"description": `${tag} : ${tagTags.join(", ")}`,
"oneOf": [
{ "type": "boolean" },
{ "enum": [ "error" ] }
// "off" not (yet) supported because behavior of older versions would be to enable
{ "enum": [ "error", "warning" ] }
],
"default": true
};

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff