karma-hint
v1.0.0
Published
Karma plugin for jshint
Downloads
2
Maintainers
Readme
Plugin for karma to connect jshint
npm install karma-hint --save-dev
- Сonnect plugin in
karma.conf.js
... preprocessors: { './**/*.js': ['karmahint'] } ...
- Add setting for
jshint
inkarma.conf.js
or ,standard for jshint, in... karmahint: { jshintrc: {}, // object with enumeration of properties jshintignore: [] // array with a list of patterns to exclude files } ...
.jshintrc
and.jshintignore
. Encoding must beutf8
. The settings from thekarma.conf.js
are taken into account first.