Liking cljdoc? Tell your friends :D

com.blockether.vis.ext.language-clojure.lint

clj-kondo linting for the Vis language surface.

Runs clj-kondo's programmatic API (clj-kondo.core/run!) — never shells out — over a code string (fed on stdin as -), explicit path(s), or the workspace's default source paths, and returns a uniform result map (STRING keys — crosses the strings-only boundary as a tool :result): {"op" "clj-lint" "error" N "warning" N "info" N "files" N "findings" [...]} where each finding is {"file" "row" "col" "level" "type" "message"}.

clj-kondo linting for the Vis language surface.

Runs clj-kondo's programmatic API (`clj-kondo.core/run!`) — never shells out —
over a code string (fed on stdin as `-`), explicit path(s), or the workspace's
default source paths, and returns a uniform result map (STRING keys — crosses
the strings-only boundary as a tool `:result`):
`{"op" "clj-lint" "error" N "warning" N "info" N "files" N "findings" [...]}`
where each finding is `{"file" "row" "col" "level" "type" "message"}`.
raw docstring

empty-resultclj

The zeroed lint result (no files, no findings) — identity for merge-results.

The zeroed lint result (no files, no findings) — identity for `merge-results`.
sourceraw docstring

lint-codeclj

(lint-code code)

Lint a raw code string via stdin.

Lint a raw code string via stdin.
sourceraw docstring

lint-pathsclj

(lint-paths paths)
(lint-paths paths config-dir)

Lint one or more filesystem paths. With config-dir (a .clj-kondo directory) it is threaded to clj-kondo as :config-dir, so a NESTED project's config is honored instead of clj-kondo's process-CWD default resolution.

Lint one or more filesystem paths. With `config-dir` (a `.clj-kondo`
directory) it is threaded to clj-kondo as `:config-dir`, so a NESTED project's
config is honored instead of clj-kondo's process-CWD default resolution.
sourceraw docstring

merge-resultsclj

(merge-results results)

Combine per-config-dir run-lint result maps into one uniform map: summed counts, concatenated findings. Lets a grouped (monorepo) lint — one run per nearest .clj-kondo dir — report back as a single result.

Combine per-config-dir `run-lint` result maps into one uniform map: summed
counts, concatenated findings. Lets a grouped (monorepo) lint — one run per
nearest `.clj-kondo` dir — report back as a single result.
sourceraw docstring

run-lintclj

(run-lint lint-arg opts)

Run clj-kondo over lint-arg (a vector of paths or ["-"] for stdin) and shape the result into the uniform lint map. opts is merged into the run config (e.g. {:config {...}}).

Run clj-kondo over `lint-arg` (a vector of paths or `["-"]` for stdin) and
shape the result into the uniform lint map. `opts` is merged into the run
config (e.g. `{:config {...}}`).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close