generator-jshint-configdeprecated

A Yeoman generator for installing and configuring JSHint

Usage no npm install needed!

<script type="module">
  import generatorJshintConfig from 'https://cdn.skypack.dev/generator-jshint-config';
</script>

README

generator-jshint-config CircleCI

A Yeoman generator for installing and configuring JSHint.

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