bemlinter ![Build Status](https://travis-ci.org/M6Web/bemlinter.svg?branch=master)
A gulp plugin to lint bem component isolation in CSS / 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.
bemlinter is under MIT License.
It was created & is maintained by Thomas ZILLIOX for M6Web.