googlearchive / polylint

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

add linter for undefined and misspelt behaviors #124

Closed 43081j closed 7 years ago

43081j commented 8 years ago

Fixes #112 and #70.

Added a behaviorNotDefined linter which checks for a possible misspelling of behavior (due to UK english and such using behaviour) and missing behaviours.

Using this linter does mean you will see a warning twice, however. This is because Hydrolysis also throws its own warning here.

Also, is there any issue using Array.prototype.find here? It is supported in later node versions.

43081j commented 7 years ago

Has been added to new linter in polymer/polymer-linter#38