forked from metabase/metabase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lint-config.edn
20 lines (20 loc) · 897 Bytes
/
lint-config.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;; Run clj-kondo with something like
;;
;; clj-kondo --parallel --lint src/ shared/src enterprise/backend/src --config lint-config.edn
;;
;; To find the warnings that are actually causing the linter to fail:
;;
;; clj-kondo ... | grep warning
;;
;; `:warn` => Print a warning but don't fail
;; `:warning` => Print a warning and DO fail
^:replace
{:linters {:consistent-alias {:level :warning}
:missing-else-branch {:level :warning}
:misplaced-docstring {:level :warning}
:missing-body-in-when {:level :warning}
:missing-docstring {:level :warning}
:refer-all {:level :warning
:exclude [clojure.test]}
:unsorted-required-namespaces {:level :warning}
:use {:level :warning}}}