frenchy64 / lein-dynalint

Leiningen plugin for Dynalint
5 stars 2 forks source link

`lein dynalint test` seems to just lint the leiningen process #2

Open gfredericks opened 9 years ago

gfredericks commented 9 years ago

I ran this on my rather large project and got 7 warnings, all of them from leiningen code.

When I looked closer at the lein dynalint code I'm pretty sure it just starts the linter inside the leiningen jvm and then runs the tests without it.

I'm thinking maybe it should add some code to the :injections key in the project map before passing that to the leiningen.test/test function.

gfredericks commented 9 years ago

Looks like you'd also have to come up with a way to grab the dynalint.lint/warning-history as well.