0
0
typo3-linting-code-analyse-.../gulpfile.js

17 lines
376 B
JavaScript
Raw Normal View History

const { series, src } = require('gulp');
const gulpSassLint = require('gulp-sass-lint');
function sassLint(cb) {
return src('./packages/**/*.scss')
.pipe(gulpSassLint({
options: {
formatter: 'table'
}
}))
.pipe(gulpSassLint.format())
.pipe(gulpSassLint.failOnError());
}
exports.default = series(sassLint);
exports.sassLint = sassLint;