Skip to content

Commit

Permalink
Refactor lint config to be on disk + fix new lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dhleong committed Oct 5, 2019
1 parent 50dd1cb commit 04105d3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .clj-kondo/config.edn
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{:linters {}}
{:linters {:unresolved-symbol {:level :off}}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"build:debug": "shadow-cljs release :app :worker --config-merge '{:closure-defines {wish.config/gdrive-client-id \"661182319990-1uerkr0pue6k60a83atj2f58md95fb1b.apps.googleusercontent.com\"}}'",
"build:gh-pages": "shadow-cljs release :app worker --config-merge '{:closure-defines {wish.config/server-root \"/wish\"}}'",
"dev": "shadow-cljs start && npm run watch",
"lint": "clojure -Sdeps '{:deps {clj-kondo {:mvn/version \"RELEASE\"}}}' -m clj-kondo.main --lint src --config '{:linters {:unresolved-symbol {:level :off}}}'",
"lint": "clojure -Sdeps '{:deps {clj-kondo {:mvn/version \"RELEASE\"}}}' -m clj-kondo.main --lint src --config .clj-kondo/config.edn",
"start": "shadow-cljs start",
"stop": "shadow-cljs stop",
"watch": "shadow-cljs watch :app :worker",
Expand Down
2 changes: 1 addition & 1 deletion src/cljs/wish/push.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
(defn- on-open [session-id]
(log/info "Connected to session " session-id))

(defn- connect-sse [session-id]
(defn connect-sse [session-id]
(doto (js/EventSource.
(str push-url-base "/sessions/sse/" session-id))
(.addEventListener "error" on-error)
Expand Down
5 changes: 0 additions & 5 deletions src/cljs/wish/sheets/dnd5e/views/actions.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,6 @@
(scroll-into-view el)))}
label])])

(defn- actions-page [id form]
^{:key id}
[:div (styles/swipeable-page)
form])

(def ^:private action-pages
[[:combat "Combat"]
[:actions "Actions" :when-any-<sub [[::spells/prepared-spells-filtered :action]
Expand Down

0 comments on commit 04105d3

Please sign in to comment.