浏览代码

Fix kondo invocation and output progress

Gabriel Horner 3 年之前
父节点
当前提交
2b46cc4938
共有 3 个文件被更改,包括 4 次插入3 次删除
  1. 2 1
      .clj-kondo/config.edn
  2. 1 1
      .github/workflows/build.yml
  3. 1 1
      docs/dev-practices.md

+ 2 - 1
.clj-kondo/config.edn

@@ -27,4 +27,5 @@
            frontend.namespaces/import-vars potemkin/import-vars
            ;; src/test
            frontend.react/defc clojure.core/defn}
- :skip-comments true}
+ :skip-comments true
+ :output {:progress true}}

+ 1 - 1
.github/workflows/build.yml

@@ -65,7 +65,7 @@ jobs:
         run: clojure -A:cljs -P
 
       - name: Run clj-kondo lint
-        run: clj -M:clj-kondo --lint src
+        run: clojure -M:clj-kondo --lint src
 
       - name: Fetch yarn deps
         run: yarn install

+ 1 - 1
docs/dev-practices.md

@@ -11,7 +11,7 @@ clojure -M:clj-kondo --lint src
 
 We lint our Clojure(Script) code with https://github.com/clj-kondo/clj-kondo/. If you need to configure specific linters, see [this documentation](https://github.com/clj-kondo/clj-kondo/blob/master/doc/linters.md). Where possible, a global linting configuration is used and namespace specific configuration is avoided.
 
-There are outstanding linting items that are currently ignored in order to allow full linting of the codebase to run in CI. These outstanding linting items should be addressed at some point:
+There are outstanding linting items that are currently ignored to allow linting the rest of the codebase in CI. These outstanding linting items should be addressed at some point:
 
 * Comments starting with `TODO:lint`
 * Code marked with `#_:clj-kondo/ignore` require a good understanding of the context to address as they usually involve something with a side effect or require changing multiple fns up the call stack.