collaborne-login.html imports paper-button as ../paper-button/paper-button.html.
The $HOME/project/paper-button directory is a (fairly old) working copy of paper-button, and polylint chose that one, leading to a linting failure.
I seems polylint should try to avoid leaving its working directory, and pick files from bower_components instead; more generically probably: avoid crossing the directory that contains a bower_components directory?
(Follow-up to https://github.com/PolymerElements/paper-button/issues/107)
I have a regular element on which I'm running polylint (collaborne-login), and the tree looks like this:
I'm running polylint inside
$HOME/project/collaborne-login
.collaborne-login.html
imports paper-button as../paper-button/paper-button.html
.The
$HOME/project/paper-button
directory is a (fairly old) working copy of paper-button, and polylint chose that one, leading to a linting failure.I seems polylint should try to avoid leaving its working directory, and pick files from
bower_components
instead; more generically probably: avoid crossing the directory that contains a bower_components directory?