- Thrown
error should have file property which should be relative path to file:
var filename = options && options.filename &&path.relative(file.cwd, file.path)
- Thrown
error should have clear message property without note about path to current file or csscomb and gonzales versions.
If we csscomb core will throw error in this format then linters will can collect invalid files with errors in and output the result it at the end of linting all the files like this
CSScomb linting failed for these files:
! css/asd.css
! css/qwe.css
css/asd.css
1 | asd{
2*| asd
3 | }
css/qwe.css
1 | asd{
2*| color: red !important;
3 | }
Total: 2 bad files.
errorshould havefileproperty which should be relative path to file:errorshould have clearmessageproperty without note about path to current file or csscomb and gonzales versions.If we csscomb core will throw error in this format then linters will can collect invalid files with errors in and output the result it at the end of linting all the files like this