Skip to content

Commit 202e6f9

Browse files
committed
Enable all gocritic tags.
1 parent 39d7929 commit 202e6f9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.golangci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ linters-settings:
3535
local-prefixes: github.com/golangci/golangci-lint
3636
gocritic:
3737
enabled-tags:
38+
- diagnostic
39+
- experimental
40+
- opinionated
3841
- performance
3942
- style
40-
- experimental
4143
disabled-checks:
4244
- wrapperFunc
4345
- dupImport # https://github.com/go-critic/go-critic/issues/845

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,9 +919,11 @@ linters-settings:
919919
local-prefixes: github.com/golangci/golangci-lint
920920
gocritic:
921921
enabled-tags:
922+
- diagnostic
923+
- experimental
924+
- opinionated
922925
- performance
923926
- style
924-
- experimental
925927
disabled-checks:
926928
- wrapperFunc
927929
- dupImport # https://github.com/go-critic/go-critic/issues/845

0 commit comments

Comments
 (0)