Checks SCSS for errors and warnings.
$ npm i -S estatico-style-lint
const gulp = require('gulp');
const styleLintTask = require('estatico-style-lint');
const styleLintOptions = {}; // Custom options, deep-merged into defaults via _.merge
gulp.task('css:stylelint', () => styleLintTask(styleLintOptions));
Type: Array
or String
Default:
[
'./src/modules/**/*.scss'
]
Passed to gulp.src
.
Type: String
Default: './src'
Passed as base
option to gulp.src
.
Type: Array
/String
Default:
[
'./src/modules/**/*.scss'
]
Used in separate watch task, changes to above files will trigger the task.
Type: Object
The MIT License (MIT)