Skip to content

Commit ba56a63

Browse files
committed
review: update JSONSchema
1 parent e23677e commit ba56a63

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

jsonschema/golangci.next.jsonschema.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,7 @@
741741
"fatcontext",
742742
"forbidigo",
743743
"forcetypeassert",
744+
"funcorder",
744745
"funlen",
745746
"ginkgolinter",
746747
"gocheckcompilerdirectives",
@@ -1302,6 +1303,22 @@
13021303
}
13031304
}
13041305
},
1306+
"funcorderSettings": {
1307+
"type": "object",
1308+
"additionalProperties": false,
1309+
"properties": {
1310+
"constructor": {
1311+
"description": "Enable/disable feature to check constructors are placed after struct declaration.",
1312+
"type": "boolean",
1313+
"default": true
1314+
},
1315+
"struct-method": {
1316+
"description": "Enable/disable feature to check whether the exported struct's methods are placed before the non-exported.",
1317+
"type": "boolean",
1318+
"default": true
1319+
}
1320+
}
1321+
},
13051322
"funlenSettings": {
13061323
"type": "object",
13071324
"additionalProperties": false,
@@ -4345,6 +4362,9 @@
43454362
"forbidigo": {
43464363
"$ref": "#/definitions/settings/definitions/forbidigoSettings"
43474364
},
4365+
"funcorder": {
4366+
"$ref": "#/definitions/settings/definitions/funcorderSettings"
4367+
},
43484368
"funlen": {
43494369
"$ref": "#/definitions/settings/definitions/funlenSettings"
43504370
},

0 commit comments

Comments
 (0)