-
Notifications
You must be signed in to change notification settings - Fork 2
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
Auto gen config not working? #16
Comments
Uh oh! It certainly used to work, so let me take a look. |
I'm trying to debug this. So far I noticed this: In splint/src/noahtheduke/splint/runner.clj Line 347 in adc9eda
(prepare-rules config (or rules (:rules @global-rules))) but the format of (:rules @global-rules) is very different from the rules in the case of auto-gen-config . In that case rules is the all-enabled on line splint/src/noahtheduke/splint/runner.clj Line 376 in adc9eda
If I change |
In the existing situation, many keys are missing, notably |
(note: that config file I get with setting |
Update: it turned out that the remaining warnings were all of one single type: |
Oh dang, you dove in right when I did a bunch of work internally to change how I build and store the rules on the If you've actually fixed it, I'd love to take a look. |
Not fixed unfortunately, I was hoping you would say something like "ah right then I know what's wrong!" :) I'd be happy to take a shot at it (with a bit of help maybe) but probably I should wait for you to finish what you're working on now...? |
I suspect the solution here is pretty simple: instead of passing I'm at work right now and might not get to work on this tonight, so if you feel up to it, give this a try. |
I ended up having some time to fix this. Hopefully it should work for you once I release it in the morning. |
Released in 1.15.2! Thanks so much. |
And thank you, it was great that you were able to fix (and release!) it so quickly! Indeed it is working now :) |
Hi!
I really like the concept of splint (thanks!!!🙏), but we have so many warnings that we can't just get started. Today I noticed the "--auto-gen-config" option, which sounds like what we need, but when I run it I get an empty config file:
I tried it both with using the provided
deps.edn
alias, and with via Babushka (thebbin
installation method), they give the same result.Is there anything I'm doing wrong or that I can try? Thank you!
The text was updated successfully, but these errors were encountered: