-
-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add :analysis :all
option
#1897
Comments
PR welcome |
I just commented on the mentioned issue in dewey, but the tldr is that I'm less interested in having an |
It's a valid point about reproducibility. What about having something that can return the available analysis options as an EQL query or something like that? |
If I retrieve analysis I'm usually doing this with a specific case in mind. But when just exploring the data when experimenting |
How about putting the config map that |
@sheluchin That's an interesting idea. We could just expose a var that is the config to get all the analysis, so you can also inspect that map in the REPL locally. |
I like that idea! |
This issue has been automatically marked as expired because it has not had recent activity. To prevent it from being closed, please leave a message. Additionally, consider giving the original message a thumbs up if this issue is important to you, so it will appear higher in this list. Thank you for your contributions! |
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Is your feature request related to a problem? Please describe.
Some tools which depend on clj-kondo analysis data aim to get as much analysis information as possible, but understanding which Extra analysis options are available requires some effort and if the options list grows, the downstream tools need to be updated to use the new options.
Examples of tools that could benefit from an
:analysis :all
option:dump
command with analysis overridesDescribe the solution you'd like
It would be helpful to have an analysis config option like
:analysis :all
to return all possible analysis data. The list of available data can grow and consumers of the data could receive the expanded map without needing to update any code on their end.Describe alternatives you've considered
The alternative is to read through the docs and construct the comprehensive analysis config yourself, and then watch for newly added options and incorporate them as they come.
I can submit a PR for this feature, but I can't promise exactly when I'll get around to it.
The text was updated successfully, but these errors were encountered: