Skip to content

Commit

Permalink
Use .clj_kondo extension for hook code (#487)
Browse files Browse the repository at this point in the history
This helps avoid issues with tooling that assumes
.clj files on the classpath are loadable.

See clj-kondo/clj-kondo#1685
and https://github.com/clj-kondo/clj-kondo/blob/master/doc/hooks.md#refreshing-with-toolsnamespace
  • Loading branch information
imrekoszo committed Jun 16, 2023
1 parent 2ab58e1 commit 9bcf516
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ This is a history of changes to clara-rules.
# 0.23.0-SNAPSHOT
* extract clara.rules.compiler/compile-test-handler from clara.rules.compiler/compile-test
* add support for `env` inside of test expressions
* use `.clj_kondo` extension for clj-kondo hook code for better tool compatibility (clj-kondo support now requires clj-kondo 2022.04.25 or higher)

# 0.22.1
* fix incorrent lint warning triggered when this binding is not used in clj-kondo hooks
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Community
- Dave Dixon [@sparkofreason]
- Baptiste Fontaine [@bfontaine]
- Jose Gomez [@k13gomez]
- Imre Kószó [@imrekoszo]

[@rbrush]: https://github.com/rbrush
[@mrrodriguez]: https://github.com/mrrodriguez
Expand All @@ -23,3 +24,4 @@ Community
[@bfontaine]: https://github.com/bfontaine
[@sunilgunisetty]: https://github.com/sunilgunisetty
[@k13gomez]: https://github.com/k13gomez
[@imrekoszo]: https://github.com/imrekoszo

0 comments on commit 9bcf516

Please sign in to comment.