(check-namespace-decls config)
(check-namespace-decls source-paths config)
Check that all ns
declarations in source-paths
are cleaned and exit with a status of 0 if all namespaces are
clean; otherwise print error messages for each improperly formatted ns declaration and exit with nonzero status.
Check that all `ns` declarations in `source-paths` are cleaned and exit with a status of 0 if all namespaces are clean; otherwise print error messages for each improperly formatted ns declaration and exit with nonzero status.
(errors source-paths custom-config)
Returns map of source filename -> error info for files that failed the check, or nil
if there are no errors.
Returns map of source filename -> error info for files that failed the check, or `nil` if there are no errors.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close