-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
How did you encounter this bug?
Style files in a node_modules
folder are linted by the VS Code extension. They are ignored by the Stylelint CLI.
Link to Minimal Reproducible Example
https://github.com/gluxon/stylelint-node-modules-ignore-test
Code Snippet
No response
Stylelint Configuration
export default {
rules: {
"block-no-empty": true
}
};
Extension Configuration
No configurations required to reproduce this.
Actual Behaviour
VS Code shows lint errors for files in node_modules
.
Expected Behaviour
VS Code should ignore node_modules
unless the Stylelint config un-ignores them.
Logs
No response
Stylelint Version
16.21.1
vscode-stylelint Version
1.5.3
Node.js Version
v24.4.0
Operating System
macOS 15.5
Windows Subsystem for Linux
No response
Code of Conduct
- I agree to follow vscode-stylelint's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels