In my project I'm using app-router, which is a native custom element (not Polymer), and so is defined with plain JS, without dom-module definition.
Actually polylint throws an error that app-router is not defined. However, the required HTML import containning JS is loaded, and in fact all works correctly.
I suggest resolving this by implementing option exclude to exclude some elements from recognizing.
Or, maybe it is also possible to implement something kinda like a sanity-check for that? We could check scripts for occurences of document.registerElement somehow.
In my project I'm using app-router, which is a native custom element (not Polymer), and so is defined with plain JS, without
dom-module
definition.Actually
polylint
throws an error thatapp-router is not defined
. However, the required HTML import containning JS is loaded, and in fact all works correctly.I suggest resolving this by implementing option
exclude
to exclude some elements from recognizing.Or, maybe it is also possible to implement something kinda like a sanity-check for that? We could check scripts for occurences of
document.registerElement
somehow.