File tree 1 file changed +45
-0
lines changed
1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,51 @@ linters:
33
33
# - protogetter
34
34
35
35
linters-settings :
36
+ govet :
37
+ # Enable analyzers by name.
38
+ # Run `GL_DEBUG=govet golangci-lint run --enable=govet` to see default, all available analyzers, and enabled analyzers.
39
+ enable :
40
+ - appends
41
+ - asmdecl
42
+ - assign
43
+ - atomic
44
+ - atomicalign
45
+ - bools
46
+ - buildtag
47
+ - cgocall
48
+ - composites
49
+ - copylocks
50
+ - deepequalerrors
51
+ - defers
52
+ - directive
53
+ - errorsas
54
+ # - fieldalignment
55
+ - findcall
56
+ - framepointer
57
+ - httpresponse
58
+ - ifaceassert
59
+ - loopclosure
60
+ - lostcancel
61
+ - nilfunc
62
+ - nilness
63
+ - printf
64
+ - reflectvaluecompare
65
+ # - shadow
66
+ - shift
67
+ - sigchanyzer
68
+ - slog
69
+ - sortslice
70
+ - stdmethods
71
+ - stringintconv
72
+ - structtag
73
+ - testinggoroutine
74
+ - tests
75
+ - unmarshal
76
+ - unreachable
77
+ - unsafeptr
78
+ - unusedresult
79
+ - unusedwrite
80
+
36
81
forbidigo :
37
82
forbid :
38
83
- p : ^(fmt\.Print(|f|ln)|print|println)$
You can’t perform that action at this time.
0 commit comments