Skip to content

Commit

Permalink
Fix #135 - disable unused-ret-vals warnings due to Potemkin's import-…
Browse files Browse the repository at this point in the history
…vars
  • Loading branch information
jafingerhut committed Dec 30, 2014
1 parent f8bba53 commit 397bbe1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions resource/eastwood/config/third-party-libs.clj
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,13 @@
:within-depth 2
:reason "potemkin/def-derived-map expands to code with multiple def's for the same Var."})

(disable-warning
{:linter :unused-ret-vals
:if-inside-macroexpansion-of #{'potemkin/import-vars
'potemkin.namespaces/import-vars}
:within-depth 3
:reason "Potemkin ipmort-vars often causes :unused-ret-vals warnings for imported Vars."})

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Configs to disable warnings in Schema 0.3.3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Expand Down

0 comments on commit 397bbe1

Please sign in to comment.