This is a small scss-lint extension for vscode.
This extension runs scss-lint in bash and displays the errors found by underlining and/or highlighting the errors in your scss files upon saving of that file.
This extension is dependent on the ruby gem scss-lint. To install the gem run the following in your terminal:
The extension has only been tested with version .0.49.0 of scss_lint and above.
This extension runs scss-lint which uses your .scss-lint.yml file. Simply install the extension, and it works for .scss files.
scssLint.showHighlights sets whether or not to show highlights in addition to underlines.
scssLint.runOnTextChange determines if this extension should run when text changes on a document.
scssLint.errorBackgroundColor sets the error background color and defaults to "rgba(200, 0, 0, .8)".
scssLint.warningBackgroundColor sets the warning background color and defaults to "rgba(200, 120, 0, .8)".
scssLint.languages sets the languages this extension works with. It defaults to ["scss"]. To add css make it ["scss", "css"].
scssLint.statusBarText sets what the status bar text should read. For security purposes, this is no longer evaluated. Variables that will be replaced include
Example settings updates:
Known issues are tracked on github. Feel free to post them there or resolve some of the issues you see.
See the CHANGELOG for notes on each release
Also, thank you to everyone who has submitted issues and helped to improve the project. I'll try to mention you in the CHANGELOG, but if I miss you, please let me know.