Please note that the closure linter is deprecated. Esp. if you use ES6 features, the tool will not work for you.
clang-format
.--jscomp_warnings=lintChecks
flag. See also
https://developers.google.com/closure/utilities/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 errorsfixjsstyle.py
- tries to fix errors automatically