https://github.com/divspace/laralix-jshint
https://github.com/divspace/laralix-jshint
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/divspace/laralix-jshint
- Owner: divspace
- Created: 2016-08-04T18:31:51.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-04T18:35:40.000Z (almost 10 years ago)
- Last Synced: 2025-10-08T10:46:59.527Z (8 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# laralix-jshint
## Install
```bash
npm install laralix-jshint --save-dev
touch .jshintrc
```
```js
// 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.
```javascript
// default
mix.jshint([
'public/js/**/*.js',
'!public/js/vendor/**/*.js'
]);
```
### JSHint options
Type: `Object`
_See [https://www.npmjs.com/package/gulp-jshint#options](https://www.npmjs.com/package/gulp-jshint#options)_