-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.codacy.yaml
More file actions
43 lines (39 loc) · 1.19 KB
/
Copy path.codacy.yaml
File metadata and controls
43 lines (39 loc) · 1.19 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
---
exclude_paths:
- "dist/**"
- "internal/telegram/telegramtest/**"
- "internal/version/**"
- "cmd/macontrol/shim.go"
- "**/*.pb.go"
- "**/zz_generated_*.go"
engines:
# Cyclomatic-complexity metrics on test files are noise: table-driven
# tests with one assertion per case trip the limit without meaning
# anything about the code under test. Keep Lizard running on
# production code.
lizard:
exclude_paths:
- "**/*_test.go"
# SECURITY.md is the GitHub-standard place for the security-contact
# email and an explicit invitation to report things. Agentlinter
# flags both the email (PII) and the upstream-CLI sentence (vague-
# instructions) — both are intentional content there.
agentlinter:
exclude_paths:
- "SECURITY.md"
# CHANGELOG.md is generated by release-please; the duplicate
# "### Features" / "### Bug Fixes" headings per release are its
# output format. Codacy's hosted markdownlint doesn't honor the
# "ignores" key in .markdownlint.json so the exclusion lives here.
markdownlint:
exclude_paths:
- "CHANGELOG.md"
languages:
go:
enabled: true
markdown:
enabled: true
yaml:
enabled: true
shell:
enabled: true