package dunolint
A linter for build files in dune projects
Install
Dune Dependency
Authors
Maintainers
Sources
dunolint-0.0.20250310.tbz
sha256=b44119c96aeabb960e852711c2f20ae43f0011e796f05e012141ba980a5b58f6
sha512=5bf76732adc940db6cac0875e94c3eaff436288faba95388b9675c68b3f30f5362e01f289fc8a096325f7db812ace273773a1e051ab7d7ace3b8db4a57a0e070
doc/dunolint.dunolinter/Dunolinter/Handler/index.html
Module Dunolinter.Handler
Source
A handler for evaluating and enforcing predicates.
Source
type Stdlib.Effect.t += private
| Enforce_failure : {
condition : 'a;
sexp_of_condition : 'a -> Base.Sexp.t;
loc : Loc.t;
} -> Base.unit Stdlib.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)"
>