Skip to content

[FEATURE] Add "Apply Fix" and "Apply Suggestion" buttons to the playground #352

@yeonjuan

Description

@yeonjuan

Is your feature request related to a problem? Please describe.

It would be great if the playground supported auto-fix functionality directly in the browser.

Specifically, I’d like to propose adding two buttons:

  • "Apply Fix" — applies available fixes provided by rules.
  • "Apply Suggestion" — applies the first available suggestion from the lint results.

This would allow users to test and preview how rules modify code, making it easier to understand and experiment with linting behavior. It could also help rule developers validate their fix implementations interactively.

Additional context

https://html-eslint.org/playground

  • typescript-eslint playground
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions