package dunolint
A linter for build files in dune projects
Install
dune-project
Dependency
Authors
Maintainers
Sources
dunolint-0.0.20250804.tbz
sha256=e4ca7c98db73dd9ab2ae8cba37ee0645f580267484e9893dbce6e28f4f2f0170
sha512=7ca658fb96139a0c41724355ac6aaf83d75468c7df14569b8f6090711f73a8fb2408ed1145384e756418682f0fa660a915842fd2b3f8b42e5ed4990e795b384e
doc/dunolint.dunolinter/Dunolinter/Handler/index.html
Module Dunolinter.Handler
Source
A handler for evaluating and enforcing predicates.
Source
type Effect.t += private
| Enforce_failure : {
condition : 'a;
sexp_of_condition : 'a -> Base.Sexp.t;
loc : Loc.t;
} -> Base.unit Effect.t
(*A effect performed when a linter comes across a condition that is requested to be enforced, but there is no defined semantic for enforcing it automatically. Depending on the context, the course of actions to react to such case may vary. During linting, it may make sense to produce an error, and continue with the flow to check other rules and the other files. During a more focused execution, perhaps this error shall be fatal.
*)
This is a special handler for the effect defined by this module, which will report the error, but continue the execution of linting and enforcing with other rules, predicates and stanzas.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>