-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.doccheck.yml
More file actions
38 lines (33 loc) · 1 KB
/
Copy path.golangci.doccheck.yml
File metadata and controls
38 lines (33 loc) · 1 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
# yaml-language-server: $schema=https://golangci-lint.run/jsonschema/golangci.jsonschema.json
# Secondary golangci-lint config for measuring exported doc-comment coverage.
#
# The main .golangci.yml deliberately disables revive's `exported` and
# `package-comments` rules (doc-comment coverage isn't part of the standard
# quality gate), so this file exists to run that check on demand without
# touching the shared config every other module's clean state depends on.
#
# Usage: golangci-lint run -c .golangci.doccheck.yml ./... (run per-module,
# same as the main config — there is no root go.mod in this go.work workspace)
version: "2"
run:
timeout: 5m
concurrency: 0
tests: true
modules-download-mode: readonly
go: "1.26.2"
relative-path-mode: gomod
linters:
disable-all: true
enable:
- revive
disable:
- errcheck
settings:
revive:
rules:
- name: exported
- name: package-comments
issues:
max-issues-per-linter: 0
max-same-issues: 50
uniq-by-line: true