@@ -60,6 +60,8 @@ linters-settings:
60
60
govet :
61
61
enable-all : true
62
62
check-shadowing : true
63
+ disable :
64
+ - fieldalignment
63
65
depguard :
64
66
list-type : blacklist
65
67
include-go-root : true
@@ -110,6 +112,7 @@ linters:
110
112
- paralleltest # paralleltest detects missing usage of t.Parallel() method in your Go test
111
113
- scopelint # Scopelint checks for unpinned variables in go programs
112
114
- sqlclosecheck # Checks that sql.Rows and sql.Stmt are closed
115
+ - wrapcheck # Checks that errors returned from external packages are wrapped TODO(zchee): enable
113
116
- wsl # Whitespace Linter
114
117
enable :
115
118
- asciicheck # Simple linter to check that your code does not contain non-ASCII identifiers
@@ -136,10 +139,8 @@ linters:
136
139
- govet # Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string
137
140
- ifshort # Checks that your code uses short syntax for if-statements whenever possible
138
141
- ineffassign # Detects when assignments to existing variables are not used
139
- - interfacer # Linter that suggests narrower interface types
140
142
- lll # Reports long lines
141
143
- makezero # Finds slice declarations with non-zero initial length
142
- - maligned # Tool to detect Go structs that would take less memory if their fields were sorted
143
144
- misspell # Finds commonly misspelled English words in comments
144
145
- nakedret # Finds naked returns in functions greater than a specified function length
145
146
- nestif # Reports deeply nested if statements
@@ -160,7 +161,6 @@ linters:
160
161
- unused # Checks Go code for unused constants, variables, functions and types
161
162
- varcheck # Finds unused global variables and constants
162
163
- whitespace # Tool for detection of leading and trailing whitespace
163
- - wrapcheck # Checks that errors returned from external packages are wrapped
164
164
165
165
issues :
166
166
max-same-issues : 0
0 commit comments