[Feature]: add vscode option to override severity
What problem does this feature solve?
I would like my stylelint errors to be errors and cause a non-zero exit code in github actions but appear as yellow in SVCode
How does this feature solve the problem?
with the eslint vscode extension I can do this as follows:
"eslint.rules.customizations": [{ "rule": "*", "severity": "downgrade" }],
What are some alternatives to this feature?
allow the the use of "stylelint.config" in addition to loading a config file
Code of Conduct
- [x] I agree to follow vscode-stylelint's Code of Conduct
similar to https://github.com/stylelint/vscode-stylelint/issues/615
Looks like I just had the syntax wrong.
the following works for me:
{
"stylelint.config": {
"extends": ["./stylelint.config"],
"defaultSeverity": "warning"
}
}
It would still be nice to have a downgrade option like eslint but this is good enough
related
microsoft/vscode-eslint#1199 https://youtrack.jetbrains.com/issue/WEB-66035/Allow-overriding-individual-ESLint-severity-levels-to-desired-inspection-severity
Is there any update?