Laravel Elixir Stylint
Laravel Elixir Stylus Lint Extension based on Stylint:
Installation
$ npm install laravel-elixir-stylint --save-dev
Usage
In gulpfile.js:
var elixir = require('laravel-elixir');
require('laravel-elixir-stylint');
elixir(function(mix) {
mix.stylint();
});
Sources
Type: String
or Array
elixir(function(mix) {
mix.stylint([
'resources/assets/stylus/fileA.styl',
'resources/assets/stylus/fileB.styl'
]);
});
Options
var options = { config: '.stylintrc' }
elixir(function(mix) {
mix.stylint([
'resources/assets/stylus/fileA.styl',
'resources/assets/stylus/fileB.styl'
], options);
});
Stylint Options
Type: Object
See stylint options
Credits
License
Laravel Elixir Stylint is open-sourced software licensed under the MIT license