Add support for shareable/extendable configuration via "extends" and helper functions (fixes #33).

This commit is contained in:
David Anson 2017-05-19 22:36:46 -07:00
parent d826833a82
commit 7528295cae
11 changed files with 385 additions and 25 deletions

View file

@ -13,6 +13,11 @@ var schema = {
"description": "Default state for all rules",
"type": "boolean",
"default": true
},
"extends": {
"description": "Path to configuration file to extend",
"type": "string",
"default": null
}
},
"additionalProperties": false

View file

@ -7,6 +7,11 @@
"type": "boolean",
"default": true
},
"extends": {
"description": "Path to configuration file to extend",
"type": "string",
"default": null
},
"MD001": {
"description": "MD001/header-increment - Header levels should only increment by one level at a time",
"type": "boolean",