googlearchive / polylint

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

behavior not found when mixing #130

Closed NicolasRannou closed 8 years ago

NicolasRannou commented 8 years ago

Polylint returns an error whereas the code works as expected.

ChRIS_ultron_frontEnd-$> polylint src/chris-login/chris-login.html 
Behavior PluginsFeed not found when mixing properties into chris-api!

Polylint should not return an error as the behavior should be found.

Is Polylint sensitve to absolute/relative path? Should Polylint run from a specific location or with special flags in order to run properly?

https://github.com/FNNDSC/ChRIS_ultron_frontEnd/tree/polymer-cli

NicolasRannou commented 8 years ago

Behaviors need the following markup to be picked up by polylint:

/** @polymerBehavior BehaviorName */

See https://github.com/PolymerElements/paper-behaviors/blob/master/paper-button-behavior.html#L16