Permalink
Browse files

linters/core -> linters/misc

  • Loading branch information...
1 parent 9b5b424 commit 56eec70bb10cc49cfa0743ed49748c48504d0c9f @jonase committed Jan 15, 2012
Showing with 8 additions and 8 deletions.
  1. +1 −1 project.clj
  2. +6 −6 src/eastwood/core.clj
  3. +1 −1 src/eastwood/linters/{core.clj → misc.clj}
View
2 project.clj
@@ -1,7 +1,7 @@
(defproject eastwood "0.0.1"
:description "A Clojure lint tool"
:dependencies [[org.clojure/clojure "1.3.0"]
- #_[analyze "0.1.2"]
+ [analyze "0.1.3-SNAPSHOT"]
;; OK - reflection warnings
#_[org.clojure/data.json "0.1.1"]
View
12 src/eastwood/core.clj
@@ -4,7 +4,7 @@
(:require [analyze.core :as analyze]
[clojure.string :as string]
[clojure.set :as set]
- [eastwood.linters.core :as linters]
+ [eastwood.linters.misc :as misc]
[eastwood.linters.deprecated :as deprecated]
[eastwood.linters.unused :as unused]))
@@ -17,11 +17,11 @@
(analyze/analyze-path source-file ns-sym)))
(def ^:private linters
- {:naked-use linters/naked-use
- :unused-private-vars linters/unused-private-vars
- :misplaced-docstrings linters/misplaced-docstrings
- ;:non-dynamic-earmuffs linters/non-dynamic-earmuffs ;checked by compiler
- :reflection linters/reflection
+ {:naked-use misc/naked-use
+ :unused-private-vars misc/unused-private-vars
+ :misplaced-docstrings misc/misplaced-docstrings
+ ;; :non-dynamic-earmuffs misc/non-dynamic-earmuffs ; checked by compiler
+ :reflection misc/reflection
:deprecations deprecated/deprecations
:unused-locals unused/unused-locals
})
View
2 src/eastwood/linters/core.clj → src/eastwood/linters/misc.clj
@@ -1,4 +1,4 @@
-(ns eastwood.linters.core)
+(ns eastwood.linters.misc)
;; Naked use
(defn- warn-on-naked-use [use-expr]

0 comments on commit 56eec70

Please sign in to comment.