Specify rules inside config without extends including recommended config by default
Currently, if one does not include extends
in their config, html-validate:recommended
is still used by default.
// .htmlvalidate.json
{
// no extends
"rules": {
// my rules
"attr-case": "off", // still have to disable rules enabled in recommended config
}
}
Use cases
Some of us would not like to have newly implemented rules added to our config when bumping this, as a new recommended rule could become enabled that we do not want. We also have to cross-compare with the recommended config rules and explicitly disable the ones we do not want to be enabled instead of just not specifying them.
Thank you and great job on this, very happy to have found this.