diff --git a/.gitignore b/.gitignore index d89a08f4407..ad4dd9f005d 100644 --- a/.gitignore +++ b/.gitignore @@ -194,8 +194,3 @@ test/appium/tests/users.py ## git hooks lefthook.yml - -## clj-kondo -/.clj-kondo/taoensso/* -/.clj-kondo/babashka/* -/.clj-kondo/rewrite-clj/rewrite-clj/config.edn diff --git a/Makefile b/Makefile index 912168dd340..2443a93b83c 100644 --- a/Makefile +++ b/Makefile @@ -305,7 +305,7 @@ endif # Get all clojure files, including untracked, excluding removed define find_all_clojure_files -$$(comm -23 <(sort <(git ls-files --cached --others --exclude-standard)) <(sort <(git ls-files --deleted)) | grep -e \.clj$$ -e \.cljs$$ -e \.cljc$$ -e \.edn) +$$(comm -23 <(sort <(git ls-files --cached --others --exclude-standard)) <(sort <(git ls-files --deleted)) | grep -E '((\.clj-kondo\/status-im)|(src).*\.clj[sc]?$$)|((\.clj-kondo\/(status-im|config))|(src).*\.edn$$)|shadow-cljs\.edn') endef lint: export TARGET := clojure