clj-commons / potemkin

some ideas which are almost good
577 stars 53 forks source link

Use .clj_kondo extension for hook code #71

Open imrekoszo opened 1 year ago

imrekoszo commented 1 year ago

Clj-kondo versions greater than v2022.04.25 support the .clj_kondo extension for hooks. This helps avoid issues with tooling that assumes .clj files on the classpath (like resource folders in libraries) are loadable.

See https://github.com/clj-kondo/clj-kondo/issues/1685 and https://github.com/clj-kondo/clj-kondo/blob/master/doc/hooks.md#refreshing-with-toolsnamespace for additional detail.