redplanetlabs / rama-clj-kondo

clj-kondo hooks for Rama code
Apache License 2.0
11 stars 0 forks source link

Add linting for unsupported Clojure features in Rama #8

Closed nixin72 closed 3 months ago

nixin72 commented 3 months ago

This PR adds linting to error on unsupported usage of certain Clojure features in Rama dataflow code. There's 4 things it checks for:

nixin72 commented 3 months ago

This is addressing #7

nathanmarz commented 3 months ago

Does this also lint forms preceded by clj!, where arbitrary clojure code is allowed? For example, this is valid: (+ 1 (clj! identity (.someMethod (:aaa some-var)))) :> *a)

nixin72 commented 3 months ago

Ahh, no it doesn't take that into account.