[Feature]: Surface "Error: No rules found within configuration. Have you provided a "rules" property?"
jeddy3 opened this issue · comments
Richard Hallows commented
What problem does this feature solve?
Users are unaware if no rules are turned on in their configuration because the extension doesn't surface this error.
How does this feature solve the problem?
Given a config of:
const config = {};
export default config;
The Stylelint CLI shows the following error:
jeddy3@mac stylelint-test % npx stylelint "**/*.css"
Error: No rules found within configuration. Have you provided a "rules" property?
The extension should surface this error. It'll also help users who accidentally set stylelint.config
to {}
, which has cropped up a few times.
What are some alternatives to this feature?
No response
Code of Conduct
- I agree to follow vscode-stylelint's Code of Conduct