bemlinter
bemlinter copied to clipboard
A cli tool to lint bem component isolation in CSS / SCSS files
For every module, you should be able to define a root block. This will allow to define every component according to a root block state. Example : ```scss .app--loading .component...
For example: - a status command ```sh $ bemlinter status There is currently 2 errors on 2 blocks. - root: 1 errors on 1 blocks - module: 1 errors on...
Because we do not compile the SCSS files, we can not detect BEM errors like this one: ```scss .block__element { &__antoher-element {} } ``` Another example is a selector created...