jscs JSCS — JavaScript Code Style.
jscs is a code style checker, see more here here.
jscs plugin for WebStorm, PHPStorm and other Idea family IDE with Javascript plugin, provides integration with jscs and shows errors and warnings inside the editor.
If you do not have nodejs installed on your machine, download and install NodeJS.
Install jscs npm package jscs npm:
$ cd <project path>
$ npm install jscs
Or, install jscs globally:
$ npm install -g jscs
To get started, you need to set the jscs plugin settings:
<project path>node_modules/jscs/bin/jscs.js
if you installed locally or /usr/local/bin/jscs
if you installed globally.<project path>node_modules/jscs/bin/jscs.cmd
if you installed locally or ``C:\Users\.jscsrc
file or set the config file explicitly.Configuration:
Inspection:
jscs plugin uses the code from here as a module, to run the project you need to clone that project as well.