Add jscs as mocha test in your test suite.
npm install mocha-jscs --save-dev
Make sure you have a jscs config defined using either:
Next, add this to
test/index.js in your project, with the following content:
You can also config the paths to run against:
"./lib"; // Array of paths
That's it! You are done.
git checkout -b my-new-feature)
git commit -am 'Add some feature')
git push origin my-new-feature)