Skip to content

Commit 6f5b255

Browse files
alexandearSeigeC
authored andcommitted
docs: remove trailing whitespaces (golangci#3593)
1 parent e666679 commit 6f5b255

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
@@ -1948,48 +1948,48 @@ linters-settings:
19481948
# this is set to true - the append call must append either a variable
19491949
# assigned, called or used on the line above.
19501950
strict-append: true
1951-
1951+
19521952
# Allows assignments to be cuddled with variables used in calls on
19531953
# line above and calls to be cuddled with assignments of variables
19541954
# used in call on line above.
19551955
allow-assign-and-call: true
1956-
1956+
19571957
# Allows assignments to be cuddled with anything.
19581958
allow-assign-and-anything: false
1959-
1959+
19601960
# Allows cuddling to assignments even if they span over multiple lines.
19611961
allow-multiline-assign: true
1962-
1962+
19631963
# If the number of lines in a case block is equal to or lager than this
19641964
# number, the case *must* end white a newline.
19651965
force-case-trailing-whitespace: 0
1966-
1966+
19671967
# Allow blocks to end with comments.
19681968
allow-trailing-comment: false
1969-
1969+
19701970
# Allow multiple comments in the beginning of a block separated with newline.
19711971
allow-separated-leading-comment: false
1972-
1972+
19731973
# Allow multiple var/declaration statements to be cuddled.
19741974
allow-cuddle-declarations: false
1975-
1975+
19761976
# A list of call idents that everything can be cuddled with.
19771977
# Defaults to calls looking like locks.
19781978
allow-cuddle-with-calls: [ "Lock", "RLock" ]
1979-
1979+
19801980
# AllowCuddleWithRHS is a list of right hand side variables that is allowed
19811981
# to be cuddled with anything. Defaults to assignments or calls looking
19821982
# like unlocks.
19831983
allow-cuddle-with-rhs: [ "Unlock", "RUnlock" ]
1984-
1984+
19851985
# Causes an error when an If statement that checks an error variable doesn't
19861986
# cuddle with the assignment of that variable.
19871987
force-err-cuddling: false
1988-
1988+
19891989
# When force-err-cuddling is enabled this is a list of names
19901990
# used for error variables to check for in the conditional.
19911991
error-variable-names: [ "err" ]
1992-
1992+
19931993
# Causes an error if a short declaration (:=) cuddles with anything other than
19941994
# another short declaration.
19951995
# This logic overrides force-err-cuddling among others.

0 commit comments

Comments
 (0)