-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpoly.toml
More file actions
149 lines (138 loc) · 3.93 KB
/
Copy pathpoly.toml
File metadata and controls
149 lines (138 loc) · 3.93 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
# Generated by scripts/migrate_to_poly.py from .pre-commit-config.yaml + tool configs. Review before committing.
[defaults]
line_length = 120
line_ending = "lf"
final_newline = true
trim_trailing_whitespace = true
[discovery]
exclude = [
".agents/plugins/marketplace.json",
".claude-plugin/marketplace.json",
".github/plugin/marketplace.json",
"plugins/*/.claude-plugin/plugin.json",
"plugins/*/.codex-plugin/plugin.json",
"plugins/*/.cursor-plugin/plugin.json",
"plugins/*/.factory-plugin/plugin.json",
"plugins/*/.github/plugin/plugin.json",
"plugins/*/.mcp.json",
"plugins/*/gemini-extension.json",
"plugins/*/kimi.plugin.json",
"plugins/*/package.json",
"node_modules/**",
]
[hooks]
stages = ["pre-commit"]
[hooks.builtin]
lint = { exclude = [
"**/*.lock",
"**/Cargo.lock",
"**/go.sum",
"**/package-lock.json",
"**/pnpm-lock.yaml",
"**/uv.lock",
"crates/*-ffi/include/*.h",
"packages/go/include/*.h",
] }
fmt = { exclude = [
"**/*.lock",
"**/Cargo.lock",
"**/go.sum",
"**/package-lock.json",
"**/pnpm-lock.yaml",
"**/uv.lock",
"crates/*-ffi/include/*.h",
"packages/go/include/*.h",
".agents/plugins/marketplace.json",
".claude-plugin/marketplace.json",
".github/plugin/marketplace.json",
"plugins/*/.claude-plugin/plugin.json",
"plugins/*/.codex-plugin/plugin.json",
"plugins/*/.cursor-plugin/plugin.json",
"plugins/*/.factory-plugin/plugin.json",
"plugins/*/.github/plugin/plugin.json",
"plugins/*/.mcp.json",
"plugins/*/gemini-extension.json",
"plugins/*/kimi.plugin.json",
"plugins/*/package.json",
] }
commit = { stages = ["commit-msg"] }
file_safety = { exclude = [
"**/*.lock",
"**/Cargo.lock",
"**/go.sum",
"**/package-lock.json",
"**/pnpm-lock.yaml",
"**/uv.lock",
"crates/*-ffi/include/*.h",
"packages/go/include/*.h",
] }
[tools.shfmt]
enabled = true
[tools.shellcheck]
enabled = true
[tools.actionlint]
enabled = true
[lint.markdown.rumdl]
disable = ["MD012", "MD013", "MD024", "MD033", "MD036", "MD041", "MD046", "MD051", "MD076"]
[lint.uncomment]
enabled = true
remove_todos = false
remove_fixme = false
remove_docs = false
use_default_ignores = true
preserve_patterns = [
"AI-RULEZ",
"Content-Hash",
"Source-Hash",
"Schema-Version",
"SAFETY",
"HACK",
"WORKAROUND",
"NOTE",
"Copyright",
"Licensed",
"License",
"SPDX",
"Apache",
"MIT",
"WITHOUT WARRANTIES",
"limitations under the License",
"copyright",
"licensed",
"license",
"apache",
"you may not use this file except in compliance",
"You may obtain a copy of the License",
"you may obtain a copy of the license",
"http://www.apache.org/licenses/LICENSE-2.0",
"http://www.apache.org/licenses/license-2.0",
"Unless required by applicable law",
"unless required by applicable law",
"distributed under the License",
"distributed under the license",
"AS IS",
"as is",
"without warranties",
"specific language governing permissions",
"limitations under the license",
]
[fmt.markdown.rumdl]
disable = ["MD012", "MD013", "MD024", "MD033", "MD036", "MD041", "MD046", "MD051", "MD076"]
[per-file-ignores]
"e2e/**" = ["comment", "doc-comment"]
"**/e2e/**" = ["comment", "doc-comment"]
"test_apps/**" = ["comment", "doc-comment"]
"**/test_apps/**" = ["comment", "doc-comment"]
"docs/assets/**" = ["comment", "doc-comment"]
"**/generated/**" = ["comment", "doc-comment"]
"**/*.generated.*" = ["comment", "doc-comment"]
"**/*.g.*" = ["comment", "doc-comment"]
"**/*.freezed.*" = ["comment", "doc-comment"]
"crates/*-ffi/include/*.h" = ["comment", "doc-comment"]
"packages/go/include/*.h" = ["comment", "doc-comment"]
"Package.swift" = ["comment", "doc-comment"]
[[hooks.sources]]
id = "ai-rulez"
git = "https://github.com/Goldziher/ai-rulez.git"
revision = "v4.9.3"
hooks = ["ai-rulez-validate", "ai-rulez-plugin-verify"]