Skip to content

Commit 59fdb0c

Browse files
committed
feat: validate default exclusions via the schema
1 parent 23641e3 commit 59fdb0c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jsonschema/golangci.next.jsonschema.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3958,7 +3958,9 @@
39583958
"description": "The list of ids of default excludes to include or disable.",
39593959
"type": "array",
39603960
"items": {
3961-
"type": "string"
3961+
"type": "string",
3962+
"pattern": "^EXC[0-9]{4}$",
3963+
"examples": ["EXC0001", "EXC0002", "EXC0015"]
39623964
},
39633965
"default": []
39643966
},

0 commit comments

Comments
 (0)