Liking cljdoc? Tell your friends :D
Clojure only.

clj-kondo.core


print!clj

(print! {:keys [:config :findings :summary :analysis]})

Prints the result from run! to *out*. Returns nil. Alpha, subject to change.

Prints the result from `run!` to `*out*`. Returns `nil`. Alpha,
subject to change.
sourceraw docstring

run!clj

(run! {:keys [:lint :lang :cache :config]})

Takes a map with:

  • :lint: a seqable of files, directories and/or classpaths to lint.

  • :lang: optional, defaults to :clj. Sets language for linting *in*. Supported values: :clj, :cljs and :cljc.

  • :cache: optional, defaults to false. May be a boolean or the directory to use for caching. In case of true, the cache dir will be resolved using the nearest .clj-kondo directory in the current and parent directories.

  • :config: optional. Map or string representing the config as EDN, or a config file.

In places where a file-like value is expected, either a path as string or a java.io.File may be passed, except for a classpath which must always be a string.

Returns a map with :findings, a seqable of finding maps, a :summary of the findings and the :config that was used to produce those findings. This map can be passed to print! to print to *out*. Alpha, subject to change.

Takes a map with:

- `:lint`: a seqable of files, directories and/or classpaths to lint.

- `:lang`: optional, defaults to `:clj`. Sets language for linting
`*in*`. Supported values: `:clj`, `:cljs` and `:cljc`.

- `:cache`: optional, defaults to `false`. May be a boolean or the
directory to use for caching. In case of `true`, the cache dir will
be resolved using the nearest `.clj-kondo` directory in the current
and parent directories.

- `:config`: optional. Map or string representing the config as EDN,
or a config file.

In places where a file-like value is expected, either a path as string or a
`java.io.File` may be passed, except for a classpath which must always be a string.

Returns a map with `:findings`, a seqable of finding maps, a
`:summary` of the findings and the `:config` that was used to
produce those findings. This map can be passed to `print!` to print
to `*out*`. Alpha, subject to change.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close