gulp-html-bemlinter
v5.0.1
Published
Gulp plugin for html linting using BEM methodology.
Downloads
616
Readme
gulp-html-bemlinter
Gulp plugin for html linting using BEM methodology.
Installation
pnpm add -D gulp gulp-html-bemlinter
Usage
Add the following to your gulpfile.js
:
import bemlinter from "gulp-html-bemlinter"
import { src } from "gulp"
export function lintBemMarkup () {
return src("dist/**/*.html")
.pipe(bemlinter())
}
And then run this task:
pnpm exec gulp lintBemMarkup