# polylint

> Keeps your Polymer Elements clean and functional!

Latest version **2.10.4** (published 2017-01-27) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install polylint
pnpm add polylint
yarn add polylint
bun add polylint
```

Provides the command `polylint`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.10.4 |
| Published | 2017-01-27 |
| First published | 2015-09-14 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 115 |
| Author | The Polymer Project Authors |
| Maintainers | garlicnation, polymer |

## Links

- npm: https://www.npmjs.com/package/polylint
- Repository: https://github.com/PolymerLabs/polylint
- Issues: https://github.com/PolymerLabs/polylint/issues
- npm.io page: https://npm.io/package/polylint

## Dependencies (9)

- [dom5](https://npm.io/package/dom5.md) ^1.0.2
- [colors](https://npm.io/package/colors.md) ^1.1.0
- [plylog](https://npm.io/package/plylog.md) ^0.4.0
- [es6-set](https://npm.io/package/es6-set.md) ^0.1.4
- [optimist](https://npm.io/package/optimist.md) ^0.6.1
- [hydrolysis](https://npm.io/package/hydrolysis.md) ^1.21.4
- [@types/node](https://npm.io/package/@types/node.md) 4.0.30
- [path-is-absolute](https://npm.io/package/path-is-absolute.md) ^1.0.0
- [command-line-args](https://npm.io/package/command-line-args.md) ^2.1.6

## Recent versions

- 2.10.4 (latest) — 2017-01-27
- 2.10.3 — 2017-01-27
- 2.10.2 — 2017-01-27
- 2.10.1 — 2016-03-21
- 2.10.0 — 2016-02-24
- 2.9.1 — 2016-02-09
- 2.9.0 — 2015-11-19
- 2.8.0 — 2015-11-17
- 2.7.3 — 2015-11-17
- 2.7.2 — 2015-11-12
- 2.7.1 — 2015-11-12
- 2.7.0 — 2015-11-11
- 2.6.0 — 2015-11-10
- 2.5.0 — 2015-11-10
- 2.4.3 — 2015-10-09
- … 10 more at https://npm.io/package/polylint/versions

## README

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

## Installation

polylint is available via [npm](https://www.npmjs.com/). 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](https://atom.io/packages/linter) package with `apm install linter` or through Atom's [package installer interface](https://atom.io/docs/latest/using-atom-atom-packages)
2. Install the [polymer-atom](https://github.com/PolymerLabs/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](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 :heart: contributions! Please see the [Contributing Guide](https://github.com/Polymer/project/blob/master/Contributing.md) for general Polymer project contribution guidelines.

---
_Source: https://npm.io/package/polylint · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
