{"library":"bemlinter","type":"library","category":null,"description":"A CLI tool to lint BEM component isolation in CSS/SCSS files, currently at version 2.0.0-beta.8. It enforces two main rules: a CSS block file should only contain its own classes, and a CSS file should not style classes from another block. This helps maintain modularity in large-scale CSS projects. The tool supports configuration via JSON files, including options for sources, exclusions, snapshots, lower-case checks, class prefixes, file patterns, and module overrides. It requires Node.js >=6 and is published under the MIT license. Compared to other linters, bemlinter focuses specifically on BEM methodology and isolation, rather than general CSS quality or formatting.","language":"javascript","status":"active","version":"2.0.0-beta.8","tags":["javascript","bem","lint","linter","cli"],"last_verified":"Fri May 01","install":[{"cmd":"npm install bemlinter","imports":["const bemlinter = require('bemlinter')","const { lint } = require('bemlinter')","const Cli = require('bemlinter').Cli"]},{"cmd":"yarn add bemlinter","imports":[]},{"cmd":"pnpm add bemlinter","imports":[]}],"homepage":null,"github":"https://github.com/M6Web/bemlinter","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/bemlinter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}