clj-kondo

https://github.com/clj-kondo/clj-kondo
fabrao 2020-06-10T01:02:30.382400Z

Hello all, how to deal with this ?

(ns app.core
  (:require
   ["react-dom" :as rdom]
   [helix.dom :as d]
   [helix.core :as hx :refer [$]]
   ["antd/es/button" :default Button]
   [emotion.core :refer [defstyled]]
   [app.lib :refer [defnc]]))

(defstyled Div "div"
           {:color :red})
defstyled erro -> Invalid function body

fabrao 2020-06-10T01:04:29.383400Z

Sorry, I solved myself -> {:lint-as {emotion.core/defstyled clojure.core/def}}