File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ linters-settings:
310
310
# By default, list of stable checks is used.
311
311
enabled-checks :
312
312
- nestingReduce
313
- - unnamedresult
313
+ - unnamedResult
314
314
- ruleguard
315
315
- truncateCmp
316
316
@@ -602,6 +602,7 @@ linters-settings:
602
602
603
603
govet :
604
604
# Report about shadowed variables.
605
+ # Default: false
605
606
check-shadowing : true
606
607
607
608
# Settings per analyzer.
@@ -710,8 +711,10 @@ linters-settings:
710
711
711
712
importas :
712
713
# Do not allow unaliased imports of aliased packages.
714
+ # Default: false
713
715
no-unaliased : true
714
716
# Do not allow non-required aliases.
717
+ # Default: false
715
718
no-extra-aliases : true
716
719
# List of aliases
717
720
alias :
@@ -1191,6 +1194,7 @@ linters-settings:
1191
1194
# Check the struck tag name case.
1192
1195
case :
1193
1196
# Use the struct field name to check the name of the struct tag.
1197
+ # Default: false
1194
1198
use-field-name : true
1195
1199
rules :
1196
1200
# Any struct tag type can be used.
You can’t perform that action at this time.
0 commit comments