elixir-jshint
v1.2.3
Published
Laravel Elixir JSHint Extension
Downloads
63
Readme
elixir-jshint
Install
$ npm install elixir-jshint --save-dev
$ touch .jshintrc
// gulpfile.js
var elixir = require( 'laravel-elixir' );
require( 'elixir-jshint' );
elixir( function( mix )
{
mix.jshint();
});
Options
Sources
Type: String
or Array
Glob or array of globs to read. Using this will overwrite all defaults.
// default
mix.jshint([
'public/js/**/*.js',
'!public/js/vendor/**/*.js'
]);
The prefix !
is for excluding files.
JSHint options
Type: Object
See https://www.npmjs.com/package/gulp-jshint#options