Generate example JSONC configuration with all properties set to their default value.

This commit is contained in:
David Anson 2021-01-19 20:41:04 -08:00
parent cc61de8f2b
commit 5b7e9b87be
8 changed files with 326 additions and 15 deletions

View file

@ -18,7 +18,10 @@ const schema = {
},
"extends": {
"description": "Path to configuration file to extend",
"type": "string",
"type": [
"string",
"null"
],
"default": null
},
"$schema": {
@ -331,7 +334,7 @@ rules.forEach(function forRule(rule) {
"items": {
"type": "string"
},
"default": null
"default": []
},
"headers": {
"description": "List of headings",
@ -339,7 +342,7 @@ rules.forEach(function forRule(rule) {
"items": {
"type": "string"
},
"default": null
"default": []
}
};
break;
@ -351,7 +354,7 @@ rules.forEach(function forRule(rule) {
"items": {
"type": "string"
},
"default": null
"default": []
},
"code_blocks": {
"description": "Include code blocks",