vscode-stylelint
vscode-stylelint copied to clipboard
[Feature]: Add setting for quiet mode (ignore warnings, whilst still fixing them)
What problem does this feature solve?
It would be handy to configure warnings for non-critical problems (eg. stylistic rules, conventions, and low-priority oddities) and auto-fix them, without having them clutter up the editor's UI. Even for rules which can't be auto-fixed, it's sometimes useful to disable low-priority warnings when you don't need to see them.
Having used the Quiet mode setting for ESLint I think Stylelint would benefit from a similar feature.
How does this feature solve the problem?
Stylelint already supports a CLI option for this feature, --quiet, but there doesn't seem to be a way at the moment to take advantage of this in VSCode.
Add a new extension setting like ESLint's eslint.quiet, eg. Stylelint: Quiet - Turns on quiet mode, which ignores warnings (stylelint.quiet)
What are some alternatives to this feature?
Could add an extension setting to add arbitrary CLI options, like ESLint's eslint.execArgv, but that wouldn't be an convenient as a dedicated extension setting. An option to toggle it off/on in the command palette would be nice though.
Code of Conduct
- [x] I agree to follow vscode-stylelint's Code of Conduct
eslint
seems to already have a similar option in the plugin for vscode.