gulp-bemlinter

v2.0.0-beta.3
A gulp plugin to lint bem component isolation in CSS / SCSS files
bem lint linter gulp gulpbemlinter

bemlinter Build Status

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

  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.

npm i gulp-bemlinter

Metadata

  • MIT
  • Whatever
  • Thomas ZILLIOX
  • released 3/30/2017

Downloads