gulp-bemlinter
v2.0.0-beta.3
Published
A gulp plugin to lint bem component isolation in CSS / SCSS files
Downloads
356
Readme
bemlinter
A gulp plugin to lint bem component isolation in SCSS files.
This project is a wrapper of bemlinter project.
Quick start
npm i gulp-bemlinter --save
You can set your gulpfile.js
to use gulp-bemlinter:
const gulp = require('gulp');
const bemlinter = require('gulp-bemlinter');
gulp.task('lint', () => {
return gulp.src('styles/**/*.scss')
.pipe(bemlinter())
.pipe(bemlinter.format())
.pipe(bemlinter.failOnError());
});
How to Contribute
- Star the project!
- Report a bug that you have found.
- Tweet or blog about bemlinter and let us know about it.
- Pull requests are also highly appreciated.
Author & Community
bemlinter is under MIT License. It was created & is maintained by Thomas ZILLIOX for M6Web.