Skip to content

Quick Fix Options Is Missing #579

Open
@mcantonbul

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions