Skip to content
New issue

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

Quick Fix Options Is Missing #579

Open
1 task done
mcantonbul opened this issue Aug 23, 2024 · 0 comments
Open
1 task done

Quick Fix Options Is Missing #579

mcantonbul opened this issue Aug 23, 2024 · 0 comments

Comments

@mcantonbul
Copy link

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:
3

ESLint Quick Fix Option:
4

Missing Quick Fix in Stylelint
Here's what happens with my Stylelint setup:

Stylelint Warning Example:
12

No Quick Fix Option:
1

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
@mcantonbul mcantonbul changed the title [Docs]: Quick Fix Options Is Missing Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant