Open StringKe opened 11 months ago
For 2, you mean like collecting what rules users tend to enable?
For 3, I don't have any plan to do i18n on CLI tbh 🤔
For 2, you mean like collecting what rules users tend to enable?
yes, or collect some minimal chunks of code that have not been hit by any rule for updating new rules.
It can also be used, for example, for packaged code that is not known but can be identified as a jsx (known component).
For the memory part, I would like to implement a size checker before running. If the file size exceeds a limit, the tool will ask you to confirm, with a hint that guides users on how to configure the memory limit to prevent OOM.
or collect some minimal chunks of code that have not been hit by any rule for updating new rules
This part sounds like it could be rather hard to automate; it seems like the kind of thing that would be better suited to being done manually; but perhaps a special issue template could be added to help guide users with the right info to provide for it:
I think the simple solution is to add a contribution guide and an issue template like what @0xdevalias said. Collecting code snippets anonymously seems impossible.
There are a few basic CLI type patterns that could potentially be done to 'guide' the user towards creating an issue; and prefilling some of the information as well. I haven't deeply explored it, but here is a quick high level ChatGPT query/response for it:
Let me finalize what we can do in this issue: