1.0.1 • Published 8 years ago
laralix-jshint v1.0.1
laralix-jshint
Install
npm install laralix-jshint --save-dev
touch .jshintrc
// gulpfile.js
var elixir = require('laravel-elixir');
require('laralix-jshint');
elixir(function(mix) {
'use strict';
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'
]);
JSHint options
Type: Object