We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9805c57 commit b226332Copy full SHA for b226332
1 file changed
src/mcp/.golangci.yml
@@ -32,13 +32,18 @@ linters:
32
excludes:
33
- G301 # directory permissions 0755 — fine for user-facing dirs
34
- G302 # file permissions 0644 — fine for user-facing files
35
+ - G204 # subprocess with variable — we call quint/git as subprocess intentionally
36
- G304 # file inclusion via variable — we read user-specified paths intentionally
37
- G306 # WriteFile permissions 0644 — fine for markdown/config files
38
+ - G703 # path traversal — we construct paths from project root intentionally
39
exclusions:
40
rules:
41
- linters:
42
- staticcheck
43
text: "QF1003"
44
+ - linters:
45
+ - staticcheck
46
+ text: "QF1012"
47
48
- errcheck
49
source: "defer .*(Close|Rollback)\\(\\)"
0 commit comments