jonase / eastwood

Clojure lint tool
1.09k stars 66 forks source link

deps.edn integration: omit .gitlibs #409

Closed vemv closed 3 years ago

vemv commented 3 years ago

In https://github.com/clj-commons/pomegranate/pull/131/files I had to add :exclude-namespaces [cognitect.test-runner]

I believe that gitlibs are implemented as yet another resource dir (as opposed to a .jar). This tricks Eastwood into believing it's a directory we want to lint (we don't: it represents a third-party dep).

So one could exclude .gitlibs from the linted corpus just like we do with any dir named *resources