1.0.1 • Published 8 years ago

laralix-jshint v1.0.1

Weekly downloads
31
License
MIT
Repository
github
Last release
8 years ago

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

See https://www.npmjs.com/package/gulp-jshint#options