This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-03-12
Channels
- # beginners (12)
- # clj-kondo (3)
- # clojure-art (5)
- # clojure-gamedev (1)
- # clojure-norway (4)
- # clojure-poland (5)
- # clojurescript (1)
- # cursive (10)
- # emacs (1)
- # fulcro (2)
- # graalvm (3)
- # integrant (3)
- # lsp (4)
- # malli (8)
- # matrix (2)
- # off-topic (61)
- # practicalli (4)
- # releases (8)
- # shadow-cljs (34)
- # sql (6)
- # xtdb (8)
An idea of a linting rule: when an alias is used for a namespace, issue a warning when full namespace name is used to reference it:
(ns a
(:require [clojure.walk :as w]))
(clojure.walk/walk identity identity {}) ; Issue warning here to use alias instead of a full name.
that already exists https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md#aliased-namespace-symbol off by default so you have to turn it on
🙌 1
Is there a way to enable all optional linters? It also looks like the list of optional linters in https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#enable-optional-linters is not up to date with the full list as it doesn’t mention aliased-namespace-symbol
linter mentioned in a thread above.