Skip to content

Commit 2eb71db

Browse files
cichlibbatsov
authored andcommitted
Remove redundant Eastwood config
1 parent f92daf7 commit 2eb71db

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

eastwood.clj

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
(disable-warning
2-
{:linter :constant-test
3-
:if-inside-macroexpansion-of #{'clojure.test/is}
4-
:within-depth 1
5-
:reason "The `is` macro commonly expands to contain an `if` with a condition that is a constant."})
6-
7-
(disable-warning
8-
{:linter :constant-test
9-
:if-inside-macroexpansion-of #{'debugger.core/break}
10-
:within-depth 7
11-
:reason "The `break` macro commonly expands to contain an `if` with a condition that is a constant."})
12-
13-
(disable-warning
14-
{:linter :constant-test
15-
:if-inside-macroexpansion-of #{'clojure.core/cond->}
16-
:within-depth 2
17-
:reason "The `cond->` macro can legitimately contain always-true predicates."})
18-
191
(disable-warning
202
{:linter :unused-ret-vals
213
:if-inside-macroexpansion-of #{'boot.core/deftask}

project.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120

121121
:eastwood {:plugins [[jonase/eastwood "0.3.4"]]
122122
:eastwood {:config-files ["eastwood.clj"]
123-
:exclude-namespaces [cider-nrepl.plugin
124-
cider.tasks
125-
cider.nrepl.test-session]
123+
;; TODO: Add :test-paths once
124+
;; https://github.com/jonase/eastwood/issues/298
125+
;; is resolved
126126
:namespaces [:source-paths]}}})

0 commit comments

Comments
 (0)