This project is deprecated. Please see https://github.com/Polymer/polymer-linter for linting Polymer 1.0 and beyond.
Catch errors in your polymer project before even running your code.
polylint is available via npm. Just run
npm install -g polylintfrom a terminal and you're ready to go.
Polylint provides a package for the Atom editor for in-line code linting. To install:
apm install linteror through Atom's package installer interface
apm install polymer-atomor through Atom's package installer.
There is currently a Sublime plugin that leverages Polylint available at https://github.com/nomego/SublimeLinter-contrib-polylint
If you want to lint a project in
my-project-dirwith two endpoints,
cart.html, you could run:
polylint --root my-project-dir/ --input index.html cart.html
For complete usage instructions, run:
Polymer :heart: contributions! Please see the Contributing Guide for general Polymer project contribution guidelines.