We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example of stylelint-scss, stylelint-scss@4.3.0 has supported rule URLs in metadata.
stylelint-scss
stylelint-scss@4.3.0
The URLs are displayed with CLI, while they are not with VSCode. See the screenshots below:
CLI:
VSCode:
package.json:
package.json
{ "dependencies": { "postcss-scss": "4.0.4", "stylelint": "14.10.0", "stylelint-scss": "4.3.0" } }
@foo { }
module.exports = { plugins: ["stylelint-scss"], customSyntax: "postcss-scss", rules: { "block-no-empty": true, "scss/at-rule-no-unknown": true, }, };
Just `.vscode/settings.json`: { "css.validate": false, "less.validate": false, "scss.validate": false, "stylelint.validate": ["css", "scss"] }
The editor doesn't show links for plugin rules, e.g. scss/at-rule-no-unknown.
scss/at-rule-no-unknown
The editor should show links for plugin rules with URL.
No error logs.
v14.10.0
v1.2.2
v18.7.0
macOS 12.4
No response
The text was updated successfully, but these errors were encountered:
Related code:
vscode-stylelint/src/utils/stylelint/warning-to-diagnostic.ts
Line 51 in d38b5db
Ref: #375
Sorry, something went wrong.
@ybiquitous Do you think ruleMetadata can be used to implement it? stylelint/stylelint#6166
ruleMetadata
@ota-meshi I don't know much about the vscode-stylelint code, but maybe yes. 👍🏼
vscode-stylelint
@ota-meshi Thank you so much for the rapid release! v1.2.3 works well! 🎉
Successfully merging a pull request may close this issue.
How did you encounter this bug?
For example of
stylelint-scss
,stylelint-scss@4.3.0
has supported rule URLs in metadata.The URLs are displayed with CLI, while they are not with VSCode. See the screenshots below:
CLI:
VSCode:
package.json
:Code Snippet
Stylelint Configuration
Extension Configuration
Actual Behaviour
The editor doesn't show links for plugin rules, e.g.
scss/at-rule-no-unknown
.Expected Behaviour
The editor should show links for plugin rules with URL.
Logs
No error logs.
Stylelint Version
v14.10.0
vscode-stylelint Version
v1.2.2
Node.js Version
v18.7.0
Operating System
macOS 12.4
Windows Subsystem for Linux
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: