Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pryley/elixir-jshint
JSHint gulp task for Laravel Elixir https://github.com/laravel/elixir
https://github.com/pryley/elixir-jshint
Last synced: about 2 months ago
JSON representation
JSHint gulp task for Laravel Elixir https://github.com/laravel/elixir
- Host: GitHub
- URL: https://github.com/pryley/elixir-jshint
- Owner: pryley
- License: mit
- Created: 2015-08-29T06:23:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-05T15:22:01.000Z (over 8 years ago)
- Last Synced: 2024-11-08T10:30:59.463Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# elixir-jshint
[![npm version](https://badge.fury.io/js/elixir-jshint.svg)](https://badge.fury.io/js/elixir-jshint)
[![Build Status](https://travis-ci.org/geminilabs/elixir-jshint.svg?branch=master)](https://travis-ci.org/geminilabs/elixir-jshint)## Install
```bash
$ npm install elixir-jshint --save-dev
$ touch .jshintrc
``````js
// 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.
```javascript
// 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](https://www.npmjs.com/package/gulp-jshint#options)_
## License
[MIT](/LICENSE)