laralix-jshint
v1.0.1
Published
JSHint extension for Laravel Elixir
Downloads
13
Readme
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