Skip to content

Commit 62730bf

Browse files
authored
docs: remove trailing whitespaces (golangci#3593)
1 parent 589ab84 commit 62730bf

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.golangci.reference.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1923,48 +1923,48 @@ linters-settings:
19231923
# this is set to true - the append call must append either a variable
19241924
# assigned, called or used on the line above.
19251925
strict-append: true
1926-
1926+
19271927
# Allows assignments to be cuddled with variables used in calls on
19281928
# line above and calls to be cuddled with assignments of variables
19291929
# used in call on line above.
19301930
allow-assign-and-call: true
1931-
1931+
19321932
# Allows assignments to be cuddled with anything.
19331933
allow-assign-and-anything: false
1934-
1934+
19351935
# Allows cuddling to assignments even if they span over multiple lines.
19361936
allow-multiline-assign: true
1937-
1937+
19381938
# If the number of lines in a case block is equal to or lager than this
19391939
# number, the case *must* end white a newline.
19401940
force-case-trailing-whitespace: 0
1941-
1941+
19421942
# Allow blocks to end with comments.
19431943
allow-trailing-comment: false
1944-
1944+
19451945
# Allow multiple comments in the beginning of a block separated with newline.
19461946
allow-separated-leading-comment: false
1947-
1947+
19481948
# Allow multiple var/declaration statements to be cuddled.
19491949
allow-cuddle-declarations: false
1950-
1950+
19511951
# A list of call idents that everything can be cuddled with.
19521952
# Defaults to calls looking like locks.
19531953
allow-cuddle-with-calls: [ "Lock", "RLock" ]
1954-
1954+
19551955
# AllowCuddleWithRHS is a list of right hand side variables that is allowed
19561956
# to be cuddled with anything. Defaults to assignments or calls looking
19571957
# like unlocks.
19581958
allow-cuddle-with-rhs: [ "Unlock", "RUnlock" ]
1959-
1959+
19601960
# Causes an error when an If statement that checks an error variable doesn't
19611961
# cuddle with the assignment of that variable.
19621962
force-err-cuddling: false
1963-
1963+
19641964
# When force-err-cuddling is enabled this is a list of names
19651965
# used for error variables to check for in the conditional.
19661966
error-variable-names: [ "err" ]
1967-
1967+
19681968
# Causes an error if a short declaration (:=) cuddles with anything other than
19691969
# another short declaration.
19701970
# This logic overrides force-err-cuddling among others.

0 commit comments

Comments
 (0)