Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

elixir-jshint

1.2.3 • Public • Published

elixir-jshint

npm version Build Status

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

License

MIT

Install

npm i elixir-jshint

DownloadsWeekly Downloads

51

Version

1.2.3

License

MIT

Last publish

Collaborators

  • avatar