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.
karma-hint
1.0.0 • Public • PublishedPackage Sidebar
Install
npm i karma-hint
Repository
Weekly Downloads
1
Version
1.0.0
License
MIT
Unpacked Size
3.56 kB
Total Files
3