1.0.0 • Published 7 years ago
karma-hint v1.0.0
Plugin for karma to connect jshint
npm install karma-hint --save-dev- Сonnect plugin in
karma.conf.js... preprocessors: { './**/*.js': ['karmahint'] } ... - Add setting for
jshintinkarma.conf.js
or ,standard for jshint, in... karmahint: { jshintrc: {}, // object with enumeration of properties jshintignore: [] // array with a list of patterns to exclude files } ....jshintrcand.jshintignore. Encoding must beutf8. The settings from thekarma.conf.jsare taken into account first.