-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpoly.toml
More file actions
91 lines (86 loc) · 2.29 KB
/
Copy pathpoly.toml
File metadata and controls
91 lines (86 loc) · 2.29 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
[defaults]
line_length = 120
line_ending = "lf"
final_newline = true
trim_trailing_whitespace = true
[discovery]
exclude = [
"**/node_modules/**",
"**/dist/**",
"**/.astro/**",
"**/pnpm-lock.yaml",
"crates/*-ffi/include/*.h",
"packages/go/include/*.h",
]
[hooks]
stages = ["pre-commit"]
[hooks.builtin]
lint = { exclude = [
"**/node_modules/**",
"**/dist/**",
"**/.astro/**",
"**/pnpm-lock.yaml",
"crates/*-ffi/include/*.h",
"packages/go/include/*.h",
] }
fmt = { exclude = [
"**/node_modules/**",
"**/dist/**",
"**/.astro/**",
"**/pnpm-lock.yaml",
"crates/*-ffi/include/*.h",
"packages/go/include/*.h",
] }
commit = { stages = ["commit-msg"] }
file_safety = { exclude = ["**/pnpm-lock.yaml", "crates/*-ffi/include/*.h", "packages/go/include/*.h"] }
[lint.uncomment]
enabled = true
remove_todos = false
remove_fixme = false
remove_docs = false
use_default_ignores = true
preserve_patterns = [
"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",
]
[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"]