-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.golangci.yml
More file actions
40 lines (37 loc) · 868 Bytes
/
Copy path.golangci.yml
File metadata and controls
40 lines (37 loc) · 868 Bytes
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
# golangci-lint configuration for theauth-go (v2 format).
#
# v0.6 adds godot and godox checks to keep doc comments well punctuated
# and to flag stray TODO / FIXME markers. The default set (errcheck,
# govet, ineffassign, staticcheck, unused) stays enabled implicitly; we
# only enable extras here.
#
# CI runs `golangci-lint run --timeout=3m`. Findings on lines not
# introduced by the current change set are out of scope for v0.6.
version: "2"
run:
timeout: 3m
tests: true
linters:
default: standard
enable:
- godot
- godox
settings:
godot:
scope: declarations
capital: false
godox:
keywords:
- TODO
- FIXME
- HACK
exclusions:
rules:
- path: _test\.go
linters:
- godot
- godox
- path: testdata/
linters:
- godot
- godox