Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/googlearchive/polylint
Lint polymer!
https://github.com/googlearchive/polylint
Last synced: 2 months ago
JSON representation
Lint polymer!
- Host: GitHub
- URL: https://github.com/googlearchive/polylint
- Owner: googlearchive
- License: bsd-3-clause
- Archived: true
- Created: 2015-05-06T18:50:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-11-16T21:04:56.000Z (about 7 years ago)
- Last Synced: 2024-04-14T12:09:44.940Z (10 months ago)
- Language: TypeScript
- Size: 163 KB
- Stars: 116
- Watchers: 39
- Forks: 19
- Open Issues: 85
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-linters - polylint - Catch errors in your (Linters / Polymer)
README
# Deprecated
*This project is deprecated.* Please see https://github.com/Polymer/polymer-linter for linting Polymer 1.0 and beyond.# 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.