laravel-elixir-stylelint
v5.1.0
Published
Laravel Elixir stylelint Extension
Downloads
63
Readme
laravel-elixir-stylelint
Install
$ npm install laravel-elixir-stylelint --save-dev
$ touch .stylelintrc
Usage
Example Gulpfile
var elixir = require('laravel-elixir');
require('laravel-elixir-stylelint');
elixir(function(mix) {
mix.stylelint();
});
Advanced example
var elixir = require('laravel-elixir');
var config = elixir.config;
require('laravel-elixir-stylelint');
elixir(function(mix) {
mix.sass('app.scss')
.version(['css/app.css'])
.stylelint([
config.get('assets.css.sass.folder') + '/**/*.scss',
'!' + config.get('public.css.outputFolder') + '/app.css'
]);
});