Skip to content

Commit ec26f3a

Browse files
committed
chore(jsonschema): move linters def closer to settings def
1 parent 9ad2653 commit ec26f3a

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

jsonschema/golangci.next.jsonschema.json

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,37 @@
324324
"header"
325325
]
326326
},
327+
"relative-path-modes": {
328+
"enum": [
329+
"gomod",
330+
"gitroot",
331+
"cfg",
332+
"wd"
333+
]
334+
},
335+
"simple-format": {
336+
"type": "object",
337+
"additionalProperties": false,
338+
"properties": {
339+
"path": {
340+
"$ref": "#/definitions/formats-path",
341+
"default": "stdout"
342+
}
343+
}
344+
},
345+
"formats-path" : {
346+
"anyOf": [
347+
{
348+
"enum": [
349+
"stdout",
350+
"stderr"
351+
]
352+
},
353+
{
354+
"type": "string"
355+
}
356+
]
357+
},
327358
"linters": {
328359
"$comment": "anyOf with enum is used to allow auto completion of non-custom linters",
329360
"description": "Linters usable.",
@@ -447,37 +478,6 @@
447478
}
448479
]
449480
},
450-
"relative-path-modes": {
451-
"enum": [
452-
"gomod",
453-
"gitroot",
454-
"cfg",
455-
"wd"
456-
]
457-
},
458-
"simple-format": {
459-
"type": "object",
460-
"additionalProperties": false,
461-
"properties": {
462-
"path": {
463-
"$ref": "#/definitions/formats-path",
464-
"default": "stdout"
465-
}
466-
}
467-
},
468-
"formats-path" : {
469-
"anyOf": [
470-
{
471-
"enum": [
472-
"stdout",
473-
"stderr"
474-
]
475-
},
476-
{
477-
"type": "string"
478-
}
479-
]
480-
},
481481
"settings": {
482482
"definitions": {
483483
"dupwordSettings": {

0 commit comments

Comments
 (0)