polylint

2.10.4 • Public • Published

Polylint

Catch errors in your polymer project before even running your code.

Installation

polylint is available via npm. Just run npm install -g polylint from a terminal and you're ready to go.

Installing the Atom Package

Polylint provides a package for the Atom editor for in-line code linting. To install:

  1. Install the linter package with apm install linter or through Atom's package installer interface
  2. Install the polymer-atom package through apm install polymer-atom or through Atom's package installer.
  3. Lint!

Installing the Sublime Plugin

There is currently a Sublime plugin that leverages Polylint available at https://github.com/nomego/SublimeLinter-contrib-polylint

Usage

If you want to lint a project in my-project-dir with two endpoints, index.html and cart.html, you could run:

polylint --root my-project-dir/ --input index.html cart.html

For complete usage instructions, run:

polylint --help

Contributing

Polymer ❤️ contributions! Please see the Contributing Guide for general Polymer project contribution guidelines.

/polylint/

    Package Sidebar

    Install

    npm i polylint

    Weekly Downloads

    124

    Version

    2.10.4

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • aomarks
    • emarquez
    • sorvell
    • bicknellr
    • usergenic
    • polymer-devs
    • azakus
    • kevinpschaaf
    • justinfagnani
    • garlicnation