You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I initially opened an issue in the main Stylelint repository, but it appears that my question pertains specifically to the VSCode extension.
Here's a reference to the related discussion I had in the main repository: #7955.
The Issue
I'm facing a problem with the Stylelint VSCode extension. While the quick fix option works fine for standard Stylelint rules and fixes issues correctly via the command line (npx stylelint --fix), the quick fix option does not appear in VSCode for my custom Stylelint rule.
Example from ESLint
For comparison, here's how ESLint handles similar situations:
ESLint Warning Example:
ESLint Quick Fix Option:
Missing Quick Fix in Stylelint
Here's what happens with my Stylelint setup:
Stylelint Warning Example:
No Quick Fix Option:
Summary
I am looking to have the quick fix option available in VSCode for my custom Stylelint rules, similar to ESLint. I would appreciate any guidance or assistance on how to address this issue within the Stylelint VSCode extension.
Thank you!
Best regards,
How can the documentation be improved to solve this problem?
.
Code of Conduct
I agree to follow vscode-stylelint's Code of Conduct
The text was updated successfully, but these errors were encountered:
I'm currently encountering a similar issue.
I would like to have a rule enabled that supports quick fix, but it should not run on save, because I want the author to remain conscious that the fix happens (or it could break stuff).
So I would like the rule to not have autofix on save, but still show up in the quick fix menu, which it does not.
Eslint seems to allow this kind of behaviour
What could use improvement?
Hi,
I initially opened an issue in the main Stylelint repository, but it appears that my question pertains specifically to the VSCode extension.
Here's a reference to the related discussion I had in the main repository: #7955.
The Issue
I'm facing a problem with the Stylelint VSCode extension. While the quick fix option works fine for standard Stylelint rules and fixes issues correctly via the command line (npx stylelint --fix), the quick fix option does not appear in VSCode for my custom Stylelint rule.
Example from ESLint
For comparison, here's how ESLint handles similar situations:
ESLint Warning Example:
ESLint Quick Fix Option:
Missing Quick Fix in Stylelint
Here's what happens with my Stylelint setup:
Stylelint Warning Example:
No Quick Fix Option:
Summary
I am looking to have the quick fix option available in VSCode for my custom Stylelint rules, similar to ESLint. I would appreciate any guidance or assistance on how to address this issue within the Stylelint VSCode extension.
Thank you!
Best regards,
How can the documentation be improved to solve this problem?
.
Code of Conduct
The text was updated successfully, but these errors were encountered: