greut / eclint

Mirror of
https://gitlab.com/greut/eclint
MIT License
14 stars 2 forks source link

Cannot handle multiple paths as args #10

Open jvacek opened 4 weeks ago

jvacek commented 4 weeks ago

Hey there! I wanted to create an issue here just in case you're not active on GitLab anymore, but I'm trying to create a pre-commit hook so i can use eclint in my repos. (see here)

eclint will happily build and run in the pre-commit environment, and there's not issue in the "distribution" process, however I am not able to get an optimal result due to an underlying issue in eclint that I can reproduce outside of the environment.

tldr, eclint -fix path1 path2 will only fix path1. I see the same behaviour without the -fix flag.

It would be nice if eclint could handle all paths given to it via args.

greut commented 4 weeks ago

Thanks @jvacek; I'll take a look.