Diplomat icon indicating copy to clipboard operation
Diplomat copied to clipboard

Static analyzer and linter for Clojure code that sparks joy

Results 116 Diplomat issues
Sort by recently updated
recently updated
newest added

![img](https://cloud.githubusercontent.com/assets/5791830/21801450/9f64b32c-d75c-11e6-9402-b0162f6696cb.png) 怎样改造才能支持module化( ̄. ̄)

你好,我在测试你的demo登录新浪微博。在没有装客户端的情况下,登录页面错误(如附上截图)。请帮忙看一下是哪里的问题?谢谢! PS:测试ios版本为10.0.1。 ![img_1271](https://cloud.githubusercontent.com/assets/1818577/18612515/62f0117a-7d8e-11e6-8e9e-3f0a7568204f.PNG)

**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.

PR welcome

Instead we should report that this namespace / require form is invalid on the appropriate line

PR welcome

**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...

PR welcome

**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...