CodeSandbox (or similar) starter template for bug reproductions #7137
Replies: 2 comments
-
we probably want to expand https://playground.oxc.rs to make it more granular to enable/disble rules (currently its just linter enable/disable) |
Beta Was this translation helpful? Give feedback.
-
I did some experimenting and was able to get a template CodeSandbox mostly working. There are a few errors on startup, but they can be ignored. I also did some experimenting with StackBlitz (which Vite uses). I was unable to execute the Oxlint CLI due to an error that I didn't really understand, so that's obviously a pretty big blocker if Oxlint doesn't work in that environment. Other than that, I don't think there are any usage limits with StackBlitz. StackBlitz can also create an environment directly from code within a GitHub repo, example in my Oxc fork here. StackBlitz error if anybody has any insight.
|
Beta Was this translation helpful? Give feedback.
-
Some bug reports would benefit from a reproduction that can be tested against. Providing a started CodeSandbox that is already configured it should be easier to get reproduction cases from end users. Oxlint is what I'm noticing this with and would like to see a CodeSandbox template for, but I think most of the tools could benefit from something like this.
CodeSandbox is what I see most often, but I think anything could work. The Oxc Playground works for single file reproductions, but for reproductions requiring multiple files it isn't sufficient.
Beta Was this translation helpful? Give feedback.
All reactions