Open plexus opened 8 months ago
I was just thinking about this myself (for RuboCop) and there it made most sense to have the top-level take precedence (just because you can have it's configuration at every level of a directory structure), but for most cases I think it'd be best to go with option 1 as the safest one.
I'm very happy to see this initiative, as a tool author I was looking to see if something like this existed. I'm happy it does, and I'll be adopting this for starters in Kaocha, a test runner for Clojure.
One thing that I think would be worth stating explicitly is how tools should behave if a config file exists both at the top level of the project and in . config
Reasonable options