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 comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

