File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Dunolint Workflows
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+ branches :
9
+ - " **" # This will match pull requests targeting any branch
10
+
11
+ permissions :
12
+ contents : read
13
+
14
+ jobs :
15
+ dunolint-workflows :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Checkout
19
+ uses : actions/checkout@v5
20
+
21
+ - name : Install dunolint
22
+ uses : mbarbin/dunolint-actions/setup-dunolint@v1.0.0-alpha.2
23
+ with :
24
+ dunolint-version : 0.0.20250910-1
25
+
26
+ - name : Lint Check
27
+ uses : mbarbin/dunolint-actions/lint-check@v1.0.0-alpha.2
Original file line number Diff line number Diff line change
1
+ (lang dunolint 1.0)
2
+
3
+ ;; Build & vcs
4
+ (skip_paths
5
+ _build/**
6
+ _coverage/**
7
+ _opam/**
8
+ .git/**)
9
+
10
+ ;; Docusaurus build & Co.
11
+ (skip_paths
12
+ doc/.docusaurus/**
13
+ doc/build/**
14
+ doc/node_modules/**)
15
+
16
+ ;; Everything is instrumented
17
+ (rule
18
+ (enforce (dune (instrumentation (backend bisect_ppx)))))
19
+
20
+ ;; We use linters via pps
21
+ (rule
22
+ (enforce
23
+ (dune
24
+ (library
25
+ (lint
26
+ (pps
27
+ (and
28
+ (pp ppx_js_style)
29
+ (flag (name -allow-let-operators) (param none) (applies_to (pp ppx_js_style)))
30
+ (flag (name -check-doc-comments) (param none) (applies_to (pp ppx_js_style)))
31
+ )))))))
You can’t perform that action at this time.
0 commit comments