A laravel-elixir wrapper for gulp-stylelint
Linting for PHP code
Install via NPM
npm install laravel-elixir-stylelint-helper --save-dev;
Call the plugin in gulpfile.js
with:
require('laravel-elixir-stylelint-helper');
mix.stylelint(source, options);
Represents the source files. This defaults to laravel-elixir's SCSS directory ['/resources/assets/sass/**/*.scss'].
Pass through an object with the options you would like merged with the defaults. Default options are
{
failAfterError: true,
reporters: [
{
formatter: 'string',
console: true,
save: './storage/reports/stylelint/stylelint_report.txt',
},
],
debug: true,
}
- This packages as 'watch' enabled to monitor changes in the 'source' files
- 2016-09-16 Initial release