Non-registered component used in elements.json and permittedDescendents/exclude doesn't trigger error
Provide a broad description of the bug. If componentC is **not** valid as a permittedDescendents within componentA (i.e used with exclude) and componentC is **not** registered in elements.json, then html-validate will not fail when encountering componentC as descendent of componentA. ## Reduced test-case Show the smallest possible markup that fails. <componentA> <componentB> <componentC></componentC> </componentB> </componentA> ## Configuration Use `html-validate --print-config FILENAME` or show the content of all relevant `.htmlvalidate.json` files. "componentA": { "permittedDescendants": [{ "exclude": "componentC" }] } ## Expected result Given the provided example, what did you expect would happen? The expected result would be for html-validate to fail and to report the line in which componentC was found. ## Actual result What happened instead? html-validate executes and finished with a success code (i.e echo $? results in 0) ## Version - `html-validate`: 2.23.0 - `html-validate-angular`: N/A - `html-validate-vue`: 3.1.0 - `html-validate-protractor`: N/A . any other relevant plugin:
issue