postcss-bem-linter is a PostCSS plugin to lint BEM-style CSS.
BEM-style describes CSS that follows a more-or-less strict set of conventions determining what selectors can be used. Typically, these conventions require that classes begin with the name of the component (or “block”) that contains them, and that all characters after the component name follow a specified pattern. Original BEM methodology refers to “blocks”, “elements”, and “modifiers”; SUIT refers to “components”, “descendants”, and “modifiers”. You might have your own terms for similar concepts.
This is free and open source software.
Website: github.com/postcss/postcss-bem-linter
Support:
Developer: Nicolas Gallagher
License: MIT License
postcss-bem-linter is written in JavaScript. Learn JavaScript with our recommended free books and free tutorials.
Related Software
| CSS Linter Tools | |
|---|---|
| Stylelint | CSS linter that helps you avoid errors and enforce conventions |
| CSSLint | CSS code quality tool |
| SCSS-Lint | Keep SCSS files clean and readable |
| Cppcheck | Static analysis tool |
| postcss-bem-linter | BEM linter for PostCSS |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.