Skip to content

Commit

Permalink
Improve lint config for clojure
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Sep 28, 2024
1 parent 4ae0c3d commit cf9f1f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .clj-kondo/config.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{:linters {:namespace-name-mismatch {:level :off}}}
2 changes: 1 addition & 1 deletion scripts/lint-clj.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -euo pipefail
EXIT_STATUS=0

while IFS= read -r -d '' file; do
clj-kondo --lint "${file}" --config '{:linters {:namespace-name-mismatch {:level :off}}}' > /dev/null || EXIT_STATUS=1
clj-kondo --lint "${file}" > /dev/null || EXIT_STATUS=1
done < <(find . -name '*.clj' -print0)

exit "${EXIT_STATUS}"

0 comments on commit cf9f1f9

Please sign in to comment.