File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ linters:
17
17
- unused # checks for unused constants, variables, functions and types
18
18
# # disabled by default
19
19
- asasalint # checks for pass []any as any in variadic func(...any)
20
- - asciicheck # checks that your code does not contain non-ASCII identifiers1
20
+ - asciicheck # checks that your code does not contain non-ASCII identifiers
21
21
- bidichk # checks for dangerous unicode character sequences
22
22
- bodyclose # checks whether HTTP response body is closed successfully
23
23
- cyclop # checks function and package cyclomatic complexity
@@ -195,7 +195,9 @@ linters:
195
195
- unparam
196
196
197
197
# Allow certain patterns to be ignored by lll (long lines)
198
- - source : ' ".{100,}"' # Ignores double-quoted strings longer than 120 chars
198
+ # This should probably be 120 to match our golines formatter, but there is a weird interaction which an external contributor hit.
199
+ # The bug was a string smaller than 120, but with key + string made the line bigger than 120, which invalidated the exclusion rule.
200
+ - source : ' ".{100,}"' # Ignores double-quoted strings longer than 100 chars
199
201
linters : [lll]
200
202
- source : " // https?://" # This pattern matches comments containing URLs
201
203
linters : [lll]
@@ -218,4 +220,4 @@ issues:
218
220
# Maximum count of issues with the same text.
219
221
# Set to 0 to disable.
220
222
# Default: 3
221
- max-same-issues : 50
223
+ max-same-issues : 50
You can’t perform that action at this time.
0 commit comments