Private.Common_helpersSourceFor use in the rest of the files in this directory.
Restrict the scope of a command to a subdirectory only. "Below this path". Accepts both relative and absolute paths.
A list of defaults directories to skip.
Create a default config with only skip_paths for common directories.
val enforce_rules_config :
rules:Dunolint.Config.Rule.t Base.list ->
Dunolint.Config.t Base.optionCreate a config containing only the given enforce rules, or None if the list is empty.
Override the workspace root - same as with dune.
val relativize :
workspace_root:Dunolint_cli__.Workspace_root.t ->
cwd:Fpath_base.Absolute_path.t ->
path:Fpath_base.Fpath.t ->
Fpath_base.Relative_path.tWhen supplying path arguments that are aimed to designate paths in workspace, we need to resolve them according to where the workspace_root is in relation to the cwd. We interpret relative paths as relative to the cwd from which the program started. We use this helper for example to resolve arguments such as --below _ or --config _.