Skip to content

Commit bf7892b

Browse files
committed
review
1 parent 3a48f33 commit bf7892b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.golangci.next.reference.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,10 +533,10 @@ linters:
533533
analyze-types: true
534534

535535
funcorder:
536-
# Enable/disable feature to check constructors are placed after struct declaration.
536+
# Checks that constructors are placed after the structure declaration.
537537
# Default: true
538538
constructor: false
539-
# Enable/disable feature to check whether the exported struct's methods are placed before the non-exported.
539+
# Checks if the methods of an exported structure are placed before the non-exported ones.
540540
# Default: true
541541
struct-method: false
542542

jsonschema/golangci.next.jsonschema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,12 +1308,12 @@
13081308
"additionalProperties": false,
13091309
"properties": {
13101310
"constructor": {
1311-
"description": "Enable/disable feature to check constructors are placed after struct declaration.",
1311+
"description": "Checks that constructors are placed after the structure declaration.",
13121312
"type": "boolean",
13131313
"default": true
13141314
},
13151315
"struct-method": {
1316-
"description": "Enable/disable feature to check whether the exported struct's methods are placed before the non-exported.",
1316+
"description": "Checks if the methods of an exported structure are placed before the non-exported ones.",
13171317
"type": "boolean",
13181318
"default": true
13191319
}

0 commit comments

Comments
 (0)