bemlinter
bemlinter copied to clipboard
Add option to explore the snapshot
For example:
- a status command
$ bemlinter status
There is currently 2 errors on 2 blocks.
- root: 1 errors on 1 blocks
- module: 1 errors on 1 blocks
- a status command for a module
$ bemlinter status --module root
There is currently 1 errors on 1 blocks for the root module.
- a error listing command
$ bemlinter list
There is currently 2 errors on 2 blocks.
✗ unprefixed
[unprefixed.scss:8] Error: \".c-prefixed\" is incoherent with the file name, \".unprefixed\" expected.
✗ module / prefixed
[module-prefixed.scss:1] Error: \".c-prefixed\" is incoherent with the file name, \".prefixed\" expected.
- a error listing command for a module
$ bemlinter list --module root
There is currently 1 errors on 1 blocks for the root module.
✗ unprefixed
[unprefixed.scss:8] Error: \".c-prefixed\" is incoherent with the file name, \".unprefixed\" expected.