googlearchive / polylint

Lint polymer!
BSD 3-Clause "New" or "Revised" License
116 stars 19 forks source link

Support for (or way to ignore) non-polymer based web components #157

Open gabema opened 7 years ago

gabema commented 7 years ago

I rely on several polymer based web components in my web app project. I also rely heavily on https://github.com/erikringsmuth/app-router/ for client side routing behavior. IMO it's a much better and extensible client side app router than the polymer specific app-router recommendation. However because erikringsmuth/app-router is built as a generic web component (works with Polymer, x-tag, vanilla web components) and is not a polymer specific web component it results in the following polymer lint warnings that I can find no way to work around using the polymer lint command.

warn:    /src/my-app.html:
    <app-router> is undefined.
warn:    /src/my-app.html:
    <app-route> is undefined.

I'm looking for a way to safely ignore these polymer lint warnings but have so far been unsuccessful.

gabema commented 7 years ago

not sure if this issue should be in this project or polymer-linter. Created duplicate issue here: https://github.com/Polymer/polymer-linter/issues/63