README
generator-jshint-config
This generator installs JSHint and adds simple script to your package.json.
Installation and usage
Make sure you have Node and npm installed. Then install Yeoman and generator:
npm install -g yo
npm install -g generator-jshint-config
Create a new directory for your project:
mkdir my-new-project
cd my-new-project
Now you can install and configure JSHint with:
yo jshint-config
Lint your files with:
npm run jshint
Tests
You can run simple tests with:
npm test
Additionally you can check code with ESLint:
npm run eslint
License
MIT © Paweł Halczuk