Skip to content

Commit b082f71

Browse files
committed
docs: add more default values
1 parent 926aa0a commit b082f71

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.golangci.example.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ linters-settings:
310310
# By default, list of stable checks is used.
311311
enabled-checks:
312312
- nestingReduce
313-
- unnamedresult
313+
- unnamedResult
314314
- ruleguard
315315
- truncateCmp
316316

@@ -602,6 +602,7 @@ linters-settings:
602602

603603
govet:
604604
# Report about shadowed variables.
605+
# Default: false
605606
check-shadowing: true
606607

607608
# Settings per analyzer.
@@ -710,8 +711,10 @@ linters-settings:
710711

711712
importas:
712713
# Do not allow unaliased imports of aliased packages.
714+
# Default: false
713715
no-unaliased: true
714716
# Do not allow non-required aliases.
717+
# Default: false
715718
no-extra-aliases: true
716719
# List of aliases
717720
alias:
@@ -1191,6 +1194,7 @@ linters-settings:
11911194
# Check the struck tag name case.
11921195
case:
11931196
# Use the struct field name to check the name of the struct tag.
1197+
# Default: false
11941198
use-field-name: true
11951199
rules:
11961200
# Any struct tag type can be used.

0 commit comments

Comments
 (0)