This repository has been archived by the owner on Nov 10, 2022. It is now read-only.
Demo: add ability to configure rules #653
Labels
demo
Relates to the ESLint demo page (https://eslint.org/demo)
enhancement
This change enhances an existing feature of the website
Our demo is increasingly being used in the issue triage process, and I think it would be beneficial to treat it more as a “Playground” or “REPL” than just as a demo.
I believe a big win would be to add the ability to configure rules (instead of just being able to turn them on or off with their default configuration). It would allow users to create their configs interactively in the browser as well as improve sharing examples and testing bugs while triaging issues. It’s currently possible to configure them using inline comments, but this isn’t a great user experience.
I have a few ideas of how this could be achieved:
oneOf
, for example).Regardless, we could then allow for exporting your configuration so that you can create the configuration in the demo and export/copy it for use in your project.
The text was updated successfully, but these errors were encountered: