Liking cljdoc? Tell your friends :D

hive-build.promote.lint

clj-kondo invocations as values. Pure.

Constructing the argument vector is where a lint task silently stops failing, so it is stated here and asserted rather than inlined at the process call.

clj-kondo invocations as values. Pure.

Constructing the argument vector is where a lint task silently stops
failing, so it is stated here and asserted rather than inlined at the
process call.
raw docstring

classpathclj

(classpath parts)

parts joined for clj-kondo's --lint, dropping the absent ones.

`parts` joined for clj-kondo's --lint, dropping the absent ones.
sourceraw docstring

lint-candidatesclj

(lint-candidates src-dirs)
(lint-candidates src-dirs dir-names)

Default lint targets for src-dirs: the source roots minus resources, plus test/. The caller drops the ones that do not exist on disk.

The two-argument form takes the repo's top-level dir-names and lints every test root among them (see test-roots) instead of test/ alone.

Default lint targets for `src-dirs`: the source roots minus resources, plus
test/. The caller drops the ones that do not exist on disk.

The two-argument form takes the repo's top-level `dir-names` and lints
every test root among them (see `test-roots`) instead of test/ alone.
sourceraw docstring

lint-commandclj

(lint-command paths fail-level)

Argument vector that lints paths. A nil fail-level reports without failing the build.

Argument vector that lints `paths`. A nil `fail-level` reports without
failing the build.
sourceraw docstring

sync-commandclj

(sync-command cp)

Argument vector that copies dependency-exported configs into ./.clj-kondo/imports/, where clj-kondo loads them automatically.

Argument vector that copies dependency-exported configs into
./.clj-kondo/imports/, where clj-kondo loads them automatically.
sourceraw docstring

test-rootsclj

(test-roots dir-names)

The test roots among dir-names, the repo's top-level directory names: every name starting with "test" (test, test-swarm, test-integration ...), sorted, without duplicates. A name ending in -resources (test-resources) holds fixtures, not source, and is left out as resources/ is. The universe comes from the tree, never from a literal, so a repo that grows a second test root is not silently half-linted.

The test roots among `dir-names`, the repo's top-level directory names:
every name starting with "test" (test, test-swarm, test-integration ...),
sorted, without duplicates. A name ending in -resources (test-resources)
holds fixtures, not source, and is left out as resources/ is. The universe
comes from the tree, never from a literal, so a repo that grows a second
test root is not silently half-linted.
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