Drop clj-kondo dir from linting (#18328)

This commit is contained in:
Ibrahem Khalil 2024-01-09 14:19:30 +02:00 committed by GitHub
parent 504d92fd57
commit 6d5ef17a31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

5
.gitignore vendored
View File

@ -194,8 +194,3 @@ test/appium/tests/users.py
## git hooks ## git hooks
lefthook.yml lefthook.yml
## clj-kondo
/.clj-kondo/taoensso/*
/.clj-kondo/babashka/*
/.clj-kondo/rewrite-clj/rewrite-clj/config.edn

View File

@ -305,7 +305,7 @@ endif
# Get all clojure files, including untracked, excluding removed # Get all clojure files, including untracked, excluding removed
define find_all_clojure_files 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 endef
lint: export TARGET := clojure lint: export TARGET := clojure