Skip to content
This repository has been archived by the owner on Oct 22, 2022. It is now read-only.

Commit

Permalink
Rename hooks dir according to org and lib
Browse files Browse the repository at this point in the history
  • Loading branch information
borkdude committed Nov 7, 2020
1 parent e2e156c commit 94da3d7
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns hooks.claypoole
(ns clj-kondo.claypoole
(:refer-clojure :exclude [future pmap pvalues])
(:require [clj-kondo.hooks-api :as api]))

Expand Down
16 changes: 8 additions & 8 deletions resources/clj-kondo.exports/clj-kondo/claypoole/config.edn
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{:linters {:claypoole {:level :warning}}
:hooks {:analyze-call {com.climate.claypoole/future hooks.claypoole/future
com.climate.claypoole/completable-future hooks.claypoole/completable-future
com.climate.claypoole/pdoseq hooks.claypoole/pdoseq
com.climate.claypoole/pmap hooks.claypoole/pmap
com.climate.claypoole/pvalues hooks.claypoole/pvalues
com.climate.claypoole/upvalues hooks.claypoole/upvalues
com.climate.claypoole/pfor hooks.claypoole/pfor
com.climate.claypoole/upfor hooks.claypoole/upfor}}}
:hooks {:analyze-call {com.climate.claypoole/future clj-kondo.claypoole/future
com.climate.claypoole/completable-future clj-kondo.claypoole/completable-future
com.climate.claypoole/pdoseq clj-kondo.claypoole/pdoseq
com.climate.claypoole/pmap clj-kondo.claypoole/pmap
com.climate.claypoole/pvalues clj-kondo.claypoole/pvalues
com.climate.claypoole/upvalues clj-kondo.claypoole/upvalues
com.climate.claypoole/pfor clj-kondo.claypoole/pfor
com.climate.claypoole/upfor clj-kondo.claypoole/upfor}}}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns hooks.mockery.with-mock
(ns clj-kondo.mockery.with-mock
(:require [clj-kondo.hooks-api :as api]))

(defn with-mock [{:keys [:node]}]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns hooks.mockery.with-mocks
(ns clj-kondo.mockery.with-mocks
(:require [clj-kondo.hooks-api :as api]))

(defn with-mocks [{:keys [:node]}]
Expand Down
4 changes: 2 additions & 2 deletions resources/clj-kondo.exports/clj-kondo/mockery/config.edn
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{:linters {:mockery {:level :warning}}
:hooks {:analyze-call {mockery.core/with-mock hooks.mockery.with-mock/with-mock
mockery.core/with-mocks hooks.mockery.with-mocks/with-mocks}}}
:hooks {:analyze-call {mockery.core/with-mock clj-kondo.mockery.with-mock/with-mock
mockery.core/with-mocks clj-kondo.mockery.with-mocks/with-mocks}}}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns hooks.rum
(ns clj-kondo.rum
(:require [clj-kondo.hooks-api :as api]))

(defn fn-body? [x]
Expand Down
4 changes: 2 additions & 2 deletions resources/clj-kondo.exports/clj-kondo/rum/config.edn
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{:hooks {:analyze-call {rum.core/defc hooks.rum/defc
rum.core/defcs hooks.rum/defcs}}
{:hooks {:analyze-call {rum.core/defc clj-kondo.rum/defc
rum.core/defcs clj-kondo.rum/defcs}}
:lint-as {rum.core/defcc rum.core/defc}}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns hooks.slingshot.try-plus
(ns clj-kondo.slingshot.try-plus
(:require [clj-kondo.hooks-api :as api]))

(defn expand-catch [catch-node]
Expand Down
2 changes: 1 addition & 1 deletion resources/clj-kondo.exports/clj-kondo/slingshot/config.edn
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{:hooks
{:analyze-call {slingshot.slingshot/try+ hooks.slingshot.try-plus/try+}}}
{:analyze-call {slingshot.slingshot/try+ clj-kondo.slingshot.try-plus/try+}}}
2 changes: 1 addition & 1 deletion rum/.clj-kondo/config.edn
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{:config-paths ["../../resources/clj_kondo.exports/clj-kondo/rum"]}
{:config-paths ["../../resources/clj-kondo.exports/clj-kondo/rum"]}

0 comments on commit 94da3d7

Please sign in to comment.