File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11{:lint-as {lambdaisland.ornament/defprop clojure.core/def
22 lambdaisland.ornament/defrules clojure.core/def}
3- :hooks {:analyze-call {lambdaisland.ornament/defstyled hooks.ornament/defstyled}}}
3+ :hooks {:analyze-call {lambdaisland.ornament/defstyled hooks.ornament/defstyled}}
4+ :linters {:lambdaisland.ornament/invalid-syntax
5+ {:level :warning }}}
Original file line number Diff line number Diff line change 1313 _ (when-not (api/keyword-node? html-tag)
1414 (api/reg-finding! {:row (:row (meta html-tag))
1515 :col (:col (meta html-tag))
16- :message " Html-tag must be a keyword"
16+ :message " Tag must be a keyword or an ornament-styled-component "
1717 :type :lambdaisland.ornament/invalid-syntax }))
1818 ; _ (prn :html-tag html-tag)
1919 ; _ (prn :more more)
2020 fn-tag (first (drop-while (fn [x]
21- (or (api/keyword-node? x)
21+ (or (api/string-node? x)
22+ (api/keyword-node? x)
2223 (api/map-node? x)
2324 (api/vector-node? x)))
2425 more))
You can’t perform that action at this time.
0 commit comments