Skip to content

Commit a427d22

Browse files
committed
newlinter: fixing settings check
1 parent 616d824 commit a427d22

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.golangci.next.reference.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -533,9 +533,11 @@ linters:
533533

534534
funcorder:
535535
# Enable/disable feature to check constructors are placed after struct declaration
536-
constructor: true
536+
# Default: true
537+
constructor: false
537538
# Enable/disable feature to check whether the exported struct's methods are placed before the non-exported
538-
struct-method: true
539+
# Default: true
540+
struct-method: false
539541

540542
funlen:
541543
# Checks the number of lines in a function.

0 commit comments

Comments
 (0)