Fork me on GitHub
#clj-kondo
<
2023-05-31
>
emilaasa12:05:34

I'd like to experiment with adding a custom linter that warns on some architectural constraints - in my concrete case I don't want us to use Java's Pattern class and the associated clj functions. Is this something that clj-kondo is intended to do, or is there another tool you recommend?

borkdude12:05:36

We have :discouraged-var which can warn you about the usage of a var (function) in conjunction with a message that you'd like to show

emilaasa12:05:57

Cool, I'll try that out