clojure-spec

kokonut 2025-03-05T20:32:18.532899Z

Hi, assuming that this is the right channel to ask about guardrails (if not, let me know), I am having difficulty to make the linter adjusted for correct indentation. This is my project-name/.clj-kondo/config.edn file

{:lint-as {com.fulcrologic.guardrails.core/>def lojure.spec.alpha/def
           com.fulcrologic.guardrails.core/>defn clojure.core/defn
           com.fulcrologic.guardrails.malli.core/>def clojure.spec.alpha/def
           com.fulcrologic.guardrails.config/defexclusions clojure.core/declare}}
But the code still looks unadjusted by this config. Please see screenshot below. Do you have any clue?

seancorfield 2025-03-05T21:54:28.253769Z

This seems to be a #clj-kondo question, not a Spec question?

seancorfield 2025-03-05T21:55:49.485729Z

Also, "lint as" has nothing to do with indentation. Indentation/formatting is handled by your editor/plugin. Is this for Emacs / VS Code / vim?

kokonut 2025-03-05T22:00:13.756549Z

I think you are right. I will move this question over to the other channel.