gulp-bemlinter

2.0.0-beta.3 • Public • Published

bemlinter Build Status

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

  1. Star the project!
  2. Report a bug that you have found.
  3. Tweet or blog about bemlinter and let us know about it.
  4. Pull requests are also highly appreciated.

Author & Community

bemlinter is under MIT License.
It was created & is maintained by Thomas ZILLIOX for M6Web.

Package Sidebar

Install

npm i gulp-bemlinter

Weekly Downloads

192

Version

2.0.0-beta.3

License

MIT

Last publish

Collaborators

  • fdubost
  • malikba
  • tzi