-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updatingDocumentation ("docs") that needs adding/updatingenhancementNew feature or requestNew feature or requestwebsite: playground
Description
Suggestion
One thing I find myself doing a lot is testing specific rules out in the playground.
Right now I have to manually open the playground and type in the config.
It would be great if we could do the following:
- Add a link to open the playground with the default config for the rule (eg
"@typescript-eslint/rule-name": "error"
) - Add a link to each examples to allow you to open them in the playground with the right config.
I think this would vastly lower the barrier to understanding and allow users to quickly verify behaviour. Eg "the docs say this, but does it cover this?" click link on example and enter new code to play around.
JoshuaKGoldberg, mhnaeem and armano2
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issueGo ahead, send a pull request that resolves this issuedocumentationDocumentation ("docs") that needs adding/updatingDocumentation ("docs") that needs adding/updatingenhancementNew feature or requestNew feature or requestwebsite: playground