Diplomat
Diplomat copied to clipboard
Static analyzer and linter for Clojure code that sparks joy
 怎样改造才能支持module化( ̄. ̄)
新浪微博登录失败
你好,我在测试你的demo登录新浪微博。在没有装客户端的情况下,登录页面错误(如附上截图)。请帮忙看一下是哪里的问题?谢谢! PS:测试ios版本为10.0.1。 
**version** ``` clj-kondo v2022.08.03 ``` **platform** Native version on Windows/WSL 2. Installed via Homebrew **problem** This is a minimum reproduction of the problem I'm actually running in to. I have...
Fixing https://github.com/clj-kondo/clj-kondo/issues/1768 - [X] I have read the [developer documentation](https://github.com/clj-kondo/clj-kondo/blob/master/doc/dev.md). - [X] This PR corresponds to an [issue with a clear problem statement](https://github.com/clj-kondo/clj-kondo/blob/master/doc/dev.md#start-with-an-issue-before-writing-code). - [X] This PR contains a [test](https://github.com/clj-kondo/clj-kondo/blob/master/doc/dev.md#tests)...
A formatter might change ns metadata: ```diff - {:clj-kondo/config '{:linters {:redundant-expression {:level :off}}}} + #:clj-kondo{:config '{:linters {:redundant-expression {:level :off}}}} ``` The latter form is not recognised.
Instead we should report that this namespace / require form is invalid on the appropriate line
**version** `clj-kondo v2022.06.22` **platform** running from command line, osx m1 monterei 12.5 aarch64-darwin. **problem** hook like this: ```clojure (defn defstackfn [{:keys [node]}] (println :tags (->> (:children node) (map :tag) doall)))...
v2022.08.03 ## platform linux, installed by brew. ## problem If you import a macro from namespace "m" via :use, then a corresponding :lint-as configuration will only work if "m" appears...
**version** 2022.06.23-SNAPSHOT **editor** Calva **problem** When exporting a config.edn for library users that contains a `:lint-as` block referencing another libraries macro, it doesn't properly lint the macro from the exported...