(get-config _ctx rule)
Return merged config for a specific rule.
Return merged config for a specific rule.
(merge-config default local)
Merge the local config file into the default.
Applies whole genre configuration to each applicable rule, and merges all custom rules configuration as well.
If .splint.edn has both 'output
and :output
, it will use 'output
.
Merge the local config file into the default. Applies whole genre configuration to each applicable rule, and merges all custom rules configuration as well. If .splint.edn has both `'output` and `:output`, it will use `'output`.
(project-paths project-map)
All of the default paths in the project map. For deps.edn, :paths from the base plus :paths or :extra-paths from :dev and :test aliases. For project.clj, :source-paths and :test-paths from base plus both from :dev and :test profiles.
All of the default paths in the project map. For deps.edn, :paths from the base plus :paths or :extra-paths from :dev and :test aliases. For project.clj, :source-paths and :test-paths from base plus both from :dev and :test profiles.
(read-project-file deps-edn project-clj)
Read the first available proejct config file. In order, checks deps.edn, project.clj, boot.
Read the first available proejct config file. In order, checks deps.edn, project.clj, boot.
(slurp-edn file)
(slurp-edn file {:keys [multiple]})
Read values from an edn file.
Returns nil if file is empty. If :multiple is provided, returns a vector of values. If :multiple is not provided, returns a single value or throws if file contains more than 1 value.
Read values from an edn file. Returns nil if file is empty. If :multiple is provided, returns a vector of values. If :multiple is not provided, returns a single value or throws if file contains more than 1 value.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close