Repository navigation
Expand file tree
/
Copy pathrsconstruct.toml
More file actions
73 lines (54 loc) · 2.68 KB
/
Copy pathrsconstruct.toml
File metadata and controls
73 lines (54 loc) · 2.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# rsconstruct build configuration for this repository.
[build]
# src_dirs entries name directories; "." (the whole tree) is a config error
reject_dot_src_dirs = true
[analyzer.python]
[processor.checker.ruff]
src_dirs = ["src", "scripts"]
[processor.checker.pyrefly]
src_dirs = ["src", "scripts"]
# check the XML files with xmllint
[processor.checker.ixmllint]
src_files = ["checkstyle.xml"]
strict = true
[processor.checker.taplo]
src_files = [".ruff.toml", ".rumdl.toml", "pyproject.toml", "rsconstruct.toml"]
# The Makefile compiled src/**/*.java together with
# `javac -Xlint:all <sources> -d bin`. scripts/javac_build.py runs that exact
# command; the explicit processor triggers it on any .java change.
[processor.explicit.generic.java]
command = "scripts/javac_build.py"
input_globs = ["src/**/*.java"]
output_dirs = ["bin"]
# lint the Lua configuration with luacheck (policy: .luacheckrc)
[processor.checker.iluacheck]
src_dirs = ["config"]
# lint the YAML files with yamllint (policy: .yamllint.yaml)
[processor.checker.iyamllint]
src_dirs = [".github"]
src_files = [".yamllint.yaml"]
# lint the GitHub Actions workflow files with actionlint
[processor.checker.iactionlint]
src_dirs = [".github/workflows"]
# audit the GitHub Actions workflow files for security problems with zizmor
# (policy: .github/zizmor.yml)
[processor.checker.zizmor]
src_dirs = [".github/workflows"]
# The auditor persona, zizmor's strictest: everything the pedantic one
# reports (undocumented permissions, template expansion of any context,
# unnamed jobs, ...) plus the findings that need a person to judge them.
# --offline and --no-progress are the default args.
args = ["--offline", "--no-progress", "--persona=auditor"]
# ─── markdown ────────────────────────────────────────────────────────────────
[processor.checker.rumdl]
src_files = ["README.md"]
# ─── java ────────────────────────────────────────────────────────────────────
[processor.checker.icheckstyle]
src_dirs = ["src"]
# ─── html ────────────────────────────────────────────────────────────────────
[processor.checker.itidy]
src_dirs = ["doc"]
# every lint suppression names a rule and says why (see the fleet's CLAUDE.md)
[processor.checker.suppressions]
src_dirs = [".github", "config", "scripts", "src"]
src_files = [".yamllint.yaml", "README.md"]