Skip to content

Commit 427615a

Browse files
committed
chore(jsonschema): split linter names and formatters names
1 parent 00d650d commit 427615a

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

jsonschema/golangci.next.jsonschema.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@
356356
]
357357
},
358358
"linter-names": {
359-
"$comment": "anyOf with enum is used to allow auto completion of non-custom linters",
360-
"description": "Linters usable.",
359+
"$comment": "anyOf with enum is used to allow auto-completion of non-custom linters",
360+
"description": "Usable linter names.",
361361
"anyOf": [
362362
{
363363
"enum": [
@@ -387,7 +387,6 @@
387387
"forbidigo",
388388
"forcetypeassert",
389389
"funlen",
390-
"gci",
391390
"ginkgolinter",
392391
"gocheckcompilerdirectives",
393392
"gochecknoglobals",
@@ -399,12 +398,8 @@
399398
"gocyclo",
400399
"godot",
401400
"godox",
402-
"golines",
403401
"err113",
404-
"gofmt",
405-
"gofumpt",
406402
"goheader",
407-
"goimports",
408403
"gomoddirectives",
409404
"gomodguard",
410405
"goprintffuncname",
@@ -478,6 +473,16 @@
478473
}
479474
]
480475
},
476+
"formatter-names": {
477+
"description": "Usable formatter names.",
478+
"enum": [
479+
"gci",
480+
"gofmt",
481+
"gofumpt",
482+
"goimports",
483+
"golines"
484+
]
485+
},
481486
"settings": {
482487
"definitions": {
483488
"dupwordSettings": {

0 commit comments

Comments
 (0)