Skip to content

lBeJIuk/karma-hint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Plugin for karma to connect jshint

  1. npm install karma-hint --save-dev
  2. Сonnect plugin in karma.conf.js
    ...
    preprocessors: {
      './**/*.js': ['karmahint']
    }
    ...
    
  3. Add setting for jshint in karma.conf.js
    ...
    karmahint: {
      jshintrc: {}, // object with enumeration of properties
      jshintignore: [] // array with a list of patterns to exclude files
    }
    ...
    
    or ,standard for jshint, in .jshintrc and .jshintignore. Encoding must be utf8. The settings from the karma.conf.js are taken into account first.

About

Plugin for karma to connect jshint

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published