package dunolint
A linter for build files in dune projects
Install
dune-project
Dependency
Authors
Maintainers
Sources
dunolint-0.0.20251006.tbz
sha256=1b064927c9e1ef5352a1886ae34a206fef0ce6a913c19a77b0162acc108e0e50
sha512=6cbc08ba318bef6584d15a4491e3dde1bf436109ce0f8b7c400a9f91bbcee64c5785bc924df11eafe98243ec2f188a7f92c58c5062729f3e2af1e9977f1a5e67
doc/dunolint.dunolint_cli/Dunolint_cli/Private/Common_helpers/index.html
Module Private.Common_helpers
Source
For 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.
Source
val enforce_rules_config :
rules:Dunolint.Config.Rule.t Base.list ->
Dunolint.Config.t Base.option
Create a config containing only the given enforce rules, or None if the list is empty.
Override the workspace root - same as with dune.
Source
val relativize :
workspace_root:Dunolint_cli__.Workspace_root.t ->
cwd:Fpath_base.Absolute_path.t ->
path:Fpath_base.Fpath.t ->
Fpath_base.Relative_path.t
When 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 _
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>