Skip to content

Commit b9ea846

Browse files
authored
Tweak default lint config (#47)
1 parent 5a32690 commit b9ea846

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ linters:
4343
- structcheck
4444
- varcheck
4545
- deadcode
46+
- testableexamples
47+
- dupword
4648

4749
issues:
4850
exclude-use-default: false
@@ -61,5 +63,6 @@ issues:
6163
path: "_test.go"
6264
- linters:
6365
- errcheck # Error checking omitted for brevity.
66+
- gosec
6467
path: "example_"
6568

0 commit comments

Comments
 (0)