Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/google/closure-linter

Automatically exported from code.google.com/p/closure-linter
https://github.com/google/closure-linter

archived deprecated no-maintenance-intended obsolete

Last synced: 2 months ago
JSON representation

Automatically exported from code.google.com/p/closure-linter

Lists

README

        

# DEPRECATED: Closure Linter - a style checker for ES5 JavaScript

Please note that the **closure linter is deprecated**. Esp. if you use ES6
features, the tool will not work for you.

* For formatting related issues, please use `clang-format`.
* For other checks, you can use the closure compiler along with the
`--jscomp_warnings=lintChecks` flag. See also
https://developers.google.com/closure/utilities/

## Installation

To install the application, run `python ./setup.py install`

After installing, you get two helper applications installed into `/usr/local/bin`:

* `gjslint.py` - runs the linter and checks for errors
* `fixjsstyle.py` - tries to fix errors automatically