From 0e7ce55f9ae7eda0416e0a165588b8fef5b4d5b1 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 24 Feb 2022 23:56:20 +0100 Subject: [PATCH] :paperclip: Fix linter issues and linter config --- .clj-kondo/config.edn | 4 +++- common/src/app/common/data.cljc | 1 - common/src/app/common/geom/shapes.cljc | 1 - frontend/src/app/main/data/workspace/colors.cljs | 1 - frontend/src/app/main/ui/hooks/resize.cljs | 1 - 5 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.clj-kondo/config.edn b/.clj-kondo/config.edn index 5fc3808459..d96eac6d85 100644 --- a/.clj-kondo/config.edn +++ b/.clj-kondo/config.edn @@ -4,11 +4,13 @@ rumext.alpha/fnc clojure.core/fn app.common.data/export clojure.core/def app.db/with-atomic clojure.core/with-open + app.common.data.macros/get-in clojure.core/get-in + app.common.data.macros/select-keys clojure.core/select-keys app.common.logging/with-context clojure.core/do} :hooks {:analyze-call - {app.common.data/export hooks.export/export + {app.common.data.macros/export hooks.export/export potok.core/reify hooks.export/potok-reify app.util.services/defmethod hooks.export/service-defmethod }} diff --git a/common/src/app/common/data.cljc b/common/src/app/common/data.cljc index 9b0dc0fb1b..52a158de96 100644 --- a/common/src/app/common/data.cljc +++ b/common/src/app/common/data.cljc @@ -11,7 +11,6 @@ (:require-macros [app.common.data])) (:require [app.common.math :as mth] - [cljs.analyzer.api :as aapi] [clojure.set :as set] [cuerdas.core :as str] #?(:cljs [cljs.reader :as r] diff --git a/common/src/app/common/geom/shapes.cljc b/common/src/app/common/geom/shapes.cljc index aab6ebb1bc..7ba26d1fab 100644 --- a/common/src/app/common/geom/shapes.cljc +++ b/common/src/app/common/geom/shapes.cljc @@ -6,7 +6,6 @@ (ns app.common.geom.shapes (:require - [app.common.data :as d] [app.common.data.macros :as dm] [app.common.geom.point :as gpt] [app.common.geom.shapes.bool :as gsb] diff --git a/frontend/src/app/main/data/workspace/colors.cljs b/frontend/src/app/main/data/workspace/colors.cljs index bd3d948e60..1021995585 100644 --- a/frontend/src/app/main/data/workspace/colors.cljs +++ b/frontend/src/app/main/data/workspace/colors.cljs @@ -14,7 +14,6 @@ [app.main.data.workspace.texts :as dwt] [app.main.repo :as rp] [beicon.core :as rx] - [cljs.spec.alpha :as s] [potok.core :as ptk])) (def clear-color-for-rename diff --git a/frontend/src/app/main/ui/hooks/resize.cljs b/frontend/src/app/main/ui/hooks/resize.cljs index 5a09f0a138..bd72680709 100644 --- a/frontend/src/app/main/ui/hooks/resize.cljs +++ b/frontend/src/app/main/ui/hooks/resize.cljs @@ -8,7 +8,6 @@ (:require [app.common.geom.point :as gpt] [app.common.logging :as log] - [app.main.refs :as refs] [app.main.ui.context :as ctx] [app.util.dom :as dom] [app.util.storage :refer [storage]]