gulp-html-bemlinter

4.0.0 • Public • Published

gulp-html-bemlinter

License: MIT Changelog NPM version Test Status

Gulp plugin for html linting using BEM methodology.

Example of html tree view output to the terminal indicating inconsistencies with the 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

Package Sidebar

Install

npm i gulp-html-bemlinter

Weekly Downloads

146

Version

4.0.0

License

MIT

Unpacked Size

11.6 kB

Total Files

6

Last publish

Collaborators

  • firefoxic