Skip to content

Should support regex in edn option #7

@oneness

Description

@oneness

clojure cljfmt supports {:indents {#".*" [[:inner 0]]}} but node cljfmt does not. I poked around the code base and have a fix for this. I will do a PR shortly.
This enables node-cljfmt to be used for both cljs and clj. As a side effect, it enables user of the lib to have better clj(s) formatting talked about here: [https://tonsky.me/blog/clojurefmt/]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions