File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed
Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 2121 - name : Install dunolint
2222 uses : mbarbin/dunolint-actions/setup-dunolint@2ba7453b5904f39688a3e656c770a5b9727163d0 # v1.0.0-alpha.3
2323 with :
24- dunolint-version : 0.0.20251006
24+ dunolint-version : 0.0.20260103
2525
2626 - name : Lint Check
2727 uses : mbarbin/dunolint-actions/lint-check@2ba7453b5904f39688a3e656c770a5b9727163d0 # v1.0.0-alpha.3
Original file line number Diff line number Diff line change 11(lang dunolint 1.0)
22
33;; Everything is instrumented
4+
45(rule
56 (enforce
67 (dune
78 (instrumentation
89 (backend bisect_ppx)))))
910
1011;; Test lib naming
12+
1113(rule
1214 (cond
1315 ((path
1820 (dune
1921 (library
2022 (and
21- (not (has_field public_name))
22- (name (is_suffix _test)))))))))
23+ (not
24+ (has_field public_name))
25+ (has_field inline_tests)
26+ (package
27+ (equals volgo-tests))
28+ (name
29+ (is_suffix _test)))))))))
2330
2431;; Configure the ppx_js_style linter
32+
2533(rule
2634 (enforce
2735 (dune
4149 (pp ppx_js_style)))))))))
4250
4351;; Configure ppx flags
52+
4453(rule
4554 (cond
4655 ((dune
4958 (or
5059 (pp ppx_compare)
5160 (pp ppx_enumerate)
52- (pp ppx_sexp_conv)
53- ))))
61+ (pp ppx_sexp_conv)))))
5462 (enforce
5563 (dune
5664 (preprocess
6472;; With the exceptions of two libraries we made a deliberate effort not to
6573;; depend on ppx except in dev mode for the user facing libraries in this
6674;; project. Let's enforce this going forward.
75+
6776(rule
6877 (cond
6978 ((path
7079 (or
7180 (glob src/volgo-base/*)
7281 (glob src/vcs-test-helpers/*)))
7382 return)
74- ((path (glob src/**))
83+ ((path
84+ (glob src/**))
7585 (enforce
7686 (dune
7787 (preprocess no_preprocessing))))))
You can’t perform that action at this time.
0 commit comments