googlearchive / polylint

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

Whitelist for `Property not found in properties` #135

Open naoak opened 8 years ago

naoak commented 8 years ago

When I check elements in PolymerElements with polylint, the following warnings are emitted.

warn:    bower_components/app-pouchdb/app-pouchdb-document.html:53:1
    Property _readied not found in 'properties' for element 'app-pouchdb-document'
warn:    bower_components/iron-scroll-threshold/iron-scroll-threshold.html:94:1
    Property isAttached not found in 'properties' for element 'iron-scroll-threshold'
warn:    bower_components/app-layout/app-drawer-layout/app-drawer-layout.html:128:3
    Property isAttached not found in 'properties' for element 'app-drawer-layout'
warn:    bower_components/app-layout/app-drawer/app-drawer.html:173:3
    Property isAttached not found in 'properties' for element 'app-drawer'
warn:    bower_components/app-layout/app-header-layout/app-header-layout.html:108:3
    Property isAttached not found in 'properties' for element 'app-header-layout'
warn:    bower_components/app-layout/app-header/app-header.html:337:3
    Property isAttached not found in 'properties' for element 'app-header'

I know any polymer element has these properties, so the warnings are safety. How would you like to add them into a whitelist?