dime icon indicating copy to clipboard operation
dime copied to clipboard

clj-kondo lint as rule

Open kurtharriger opened this issue 3 years ago • 1 comments

vscode plugin calva and probably most editors use clj-kondo to lint code files and require extra configuration to recognize defconst Ive configured clj-kondo to lint defconst as defn and that seems to work well for me.

it appears that clj-kondo will search libraries for rules so that it can lint-as defn by automatically https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#exporting

kurtharriger avatar Dec 23 '21 04:12 kurtharriger

@kurtharriger This is quite interesting. PR welcome to add docs/config with respect to clj-config.

kumarshantanu avatar Dec 23 '21 09:12 kumarshantanu