Skip to content

Commit 31f5127

Browse files
committed
review
1 parent 7c42f3a commit 31f5127

9 files changed

+9
-9
lines changed

jsonschema/golangci.jsonschema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@
472472
"timeout": {
473473
"description": "Timeout for the analysis.",
474474
"type": "string",
475-
"pattern": "^(\\d*m)?\\d*[sm]$",
475+
"pattern": "^(\\d+m\\d+s|\\d+m|\\d+s|\\d)$",
476476
"default": "1m",
477477
"examples": ["30s", "5m", "5m30s"]
478478
},

jsonschema/golangci.next.jsonschema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@
472472
"timeout": {
473473
"description": "Timeout for the analysis.",
474474
"type": "string",
475-
"pattern": "^(\\d*m)?\\d*[sm]$",
475+
"pattern": "^(\\d+m\\d+s|\\d+m|\\d+s|\\d)$",
476476
"default": "1m",
477477
"examples": ["30s", "5m", "5m30s"]
478478
},

jsonschema/golangci.v1.57.jsonschema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@
351351
"timeout": {
352352
"description": "Timeout for the analysis.",
353353
"type": "string",
354-
"pattern": "^(\\d*m)?\\d*[sm]$",
354+
"pattern": "^(\\d+m\\d+s|\\d+m|\\d+s|\\d)$",
355355
"default": "1m",
356356
"examples": ["30s", "5m", "5m30s"]
357357
},

jsonschema/golangci.v1.58.jsonschema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@
353353
"timeout": {
354354
"description": "Timeout for the analysis.",
355355
"type": "string",
356-
"pattern": "^(\\d*m)?\\d*[sm]$",
356+
"pattern": "^(\\d+m\\d+s|\\d+m|\\d+s|\\d)$",
357357
"default": "1m",
358358
"examples": ["30s", "5m", "5m30s"]
359359
},

jsonschema/golangci.v1.59.jsonschema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@
435435
"timeout": {
436436
"description": "Timeout for the analysis.",
437437
"type": "string",
438-
"pattern": "^(\\d*m)?\\d*[sm]$",
438+
"pattern": "^(\\d+m\\d+s|\\d+m|\\d+s|\\d)$",
439439
"default": "1m",
440440
"examples": ["30s", "5m", "5m30s"]
441441
},

jsonschema/golangci.v1.60.jsonschema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@
441441
"timeout": {
442442
"description": "Timeout for the analysis.",
443443
"type": "string",
444-
"pattern": "^(\\d*m)?\\d*[sm]$",
444+
"pattern": "^(\\d+m\\d+s|\\d+m|\\d+s|\\d)$",
445445
"default": "1m",
446446
"examples": ["30s", "5m", "5m30s"]
447447
},

jsonschema/golangci.v1.61.jsonschema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@
440440
"timeout": {
441441
"description": "Timeout for the analysis.",
442442
"type": "string",
443-
"pattern": "^(\\d*m)?\\d*[sm]$",
443+
"pattern": "^(\\d+m\\d+s|\\d+m|\\d+s|\\d)$",
444444
"default": "1m",
445445
"examples": ["30s", "5m", "5m30s"]
446446
},

jsonschema/golangci.v1.62.jsonschema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@
442442
"timeout": {
443443
"description": "Timeout for the analysis.",
444444
"type": "string",
445-
"pattern": "^(\\d*m)?\\d*[sm]$",
445+
"pattern": "^(\\d+m\\d+s|\\d+m|\\d+s|\\d)$",
446446
"default": "1m",
447447
"examples": ["30s", "5m", "5m30s"]
448448
},

jsonschema/golangci.v1.63.jsonschema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@
463463
"timeout": {
464464
"description": "Timeout for the analysis.",
465465
"type": "string",
466-
"pattern": "^(\\d*m)?\\d*[sm]$",
466+
"pattern": "^(\\d+m\\d+s|\\d+m|\\d+s|\\d)$",
467467
"default": "1m",
468468
"examples": ["30s", "5m", "5m30s"]
469469
},

0 commit comments

Comments
 (0)