-
Notifications
You must be signed in to change notification settings - Fork 1
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
Expanding the clj-kondo analysis config #4
Comments
Yes!
My attempt was to ask for everything clj-kondo could provide (except from linting), but it seems like I missed a few options. Generally, I would like to include as much information as possible and only omit extra analysis if some type of analysis caused a problem. |
Thanks for explaining your rationale. I made that ☝️ issue in clj-kondo. I think adding the option to clj-kondo and activating it here might be the best way to accomplish this. Do you think it's a reasonable approach, @phronmophobic? |
I think there is a place for something like The clj-kondo version would probably still provide a stable basis, but if someone ever wants to do analysis of clojure over time using dewey data, then it's much easier to look at all of the analyses based on an explicit analysis config rather than looking at the clj-kondo version and reverse engineering what analysis is actually included. I would much rather have a way to query clj-kondo for what types analysis are available so that it makes it easier to update the config dewey uses with all the available analyses. |
Hi, @phronmophobic. Would you be open to expanding the config map which Dewey passes to clj-kondo?
My code is relying on
{:var-definitions {:meta [:arglists]}}
for handling some edge cases, particularly in Clojure core and the associated tests, because some of the definitions there are a little unusual. In some of the core definitions the arglist is defined only in meta and in some of the tests there are intentionally invalid definitions, and I check for empty:arglist-strs
and empty:meta {:arglists ...}
to remove those entries.In general, I'm very much interested in delegating some of the data extraction requirements in my project to Dewey, but if there's a gap between my requirements and the provided data, I basically have to re-run the analysis on my end.
I guess this issue is two questions:
{:var-definitions {:meta [:arglists]}}
to the current analysis config?The text was updated successfully, but these errors were encountered: