Skip to content

Commit f6715ee

Browse files
committed
chore(jsonschema): add formatters section
1 parent 427615a commit f6715ee

File tree

1 file changed

+50
-15
lines changed

1 file changed

+50
-15
lines changed

jsonschema/golangci.next.jsonschema.json

Lines changed: 50 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3997,9 +3997,6 @@
39973997
"funlen": {
39983998
"$ref": "#/definitions/settings/definitions/funlenSettings"
39993999
},
4000-
"gci": {
4001-
"$ref": "#/definitions/settings/definitions/gciSettings"
4002-
},
40034000
"ginkgolinter": {
40044001
"$ref": "#/definitions/settings/definitions/ginkgolinterSettings"
40054002
},
@@ -4024,24 +4021,12 @@
40244021
"godox": {
40254022
"$ref": "#/definitions/settings/definitions/godoxSettings"
40264023
},
4027-
"gofmt": {
4028-
"$ref": "#/definitions/settings/definitions/gofmtSettings"
4029-
},
4030-
"golines": {
4031-
"$ref": "#/definitions/settings/definitions/golinesSettings"
4032-
},
40334024
"interfacebloat":{
40344025
"$ref": "#/definitions/settings/definitions/interfacebloatSettings"
40354026
},
4036-
"gofumpt": {
4037-
"$ref": "#/definitions/settings/definitions/gofumptSettings"
4038-
},
40394027
"goheader": {
40404028
"$ref": "#/definitions/settings/definitions/goheaderSettings"
40414029
},
4042-
"goimports": {
4043-
"$ref": "#/definitions/settings/definitions/goimportsSettings"
4044-
},
40454030
"gomoddirectives": {
40464031
"$ref": "#/definitions/settings/definitions/gomoddirectivesSettings"
40474032
},
@@ -4335,6 +4320,56 @@
43354320
}
43364321
}
43374322
},
4323+
"formatters": {
4324+
"type": "object",
4325+
"additionalProperties": false,
4326+
"properties": {
4327+
"enable": {
4328+
"description": "List of enabled formatters.",
4329+
"type": "array",
4330+
"items": {
4331+
"$ref": "#/definitions/formatter-names"
4332+
}
4333+
},
4334+
"settings": {
4335+
"type": "object",
4336+
"additionalProperties": false,
4337+
"properties": {
4338+
"gci": {
4339+
"$ref": "#/definitions/settings/definitions/gciSettings"
4340+
},
4341+
"gofmt": {
4342+
"$ref": "#/definitions/settings/definitions/gofmtSettings"
4343+
},
4344+
"gofumpt": {
4345+
"$ref": "#/definitions/settings/definitions/gofumptSettings"
4346+
},
4347+
"goimports": {
4348+
"$ref": "#/definitions/settings/definitions/goimportsSettings"
4349+
},
4350+
"golines": {
4351+
"$ref": "#/definitions/settings/definitions/golinesSettings"
4352+
}
4353+
}
4354+
},
4355+
"exclusions": {
4356+
"type": "object",
4357+
"additionalProperties": false,
4358+
"properties": {
4359+
"generated": {
4360+
"type": "boolean",
4361+
"default": true
4362+
},
4363+
"paths": {
4364+
"type": "array",
4365+
"items": {
4366+
"type": "string"
4367+
}
4368+
}
4369+
}
4370+
}
4371+
}
4372+
},
43384373
"issues": {
43394374
"type": "object",
43404375
"additionalProperties": false,

0 commit comments

Comments
 (0)