lint(config): default project colors to empty list, split remote into a ref
This commit is contained in:
parent
1b9eccbdf7
commit
2abe6b66c9
|
@ -65,7 +65,6 @@ definitions:
|
||||||
items:
|
items:
|
||||||
$ref: "#/definitions/label-ref"
|
$ref: "#/definitions/label-ref"
|
||||||
|
|
||||||
|
|
||||||
state-label:
|
state-label:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: "#/definitions/change-set"
|
- $ref: "#/definitions/change-set"
|
||||||
|
@ -98,6 +97,24 @@ definitions:
|
||||||
$ref: "#/definitions/state-change"
|
$ref: "#/definitions/state-change"
|
||||||
default: []
|
default: []
|
||||||
|
|
||||||
|
remote:
|
||||||
|
type: object
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
- type
|
||||||
|
properties:
|
||||||
|
type:
|
||||||
|
type: string
|
||||||
|
enum:
|
||||||
|
- github-remote
|
||||||
|
- gitlab-remote
|
||||||
|
data:
|
||||||
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
patternProperties:
|
||||||
|
".*":
|
||||||
|
type: string
|
||||||
|
|
||||||
project:
|
project:
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
|
@ -112,6 +129,7 @@ definitions:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: "#/definitions/hex-string"
|
$ref: "#/definitions/hex-string"
|
||||||
|
default: []
|
||||||
comment:
|
comment:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
@ -123,22 +141,7 @@ definitions:
|
||||||
name:
|
name:
|
||||||
type: string
|
type: string
|
||||||
remote:
|
remote:
|
||||||
type: object
|
$ref: "#/definitions/remote"
|
||||||
required:
|
|
||||||
- data
|
|
||||||
- type
|
|
||||||
properties:
|
|
||||||
type:
|
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- github-remote
|
|
||||||
- gitlab-remote
|
|
||||||
data:
|
|
||||||
type: object
|
|
||||||
additionalProperties: false
|
|
||||||
patternProperties:
|
|
||||||
".*":
|
|
||||||
type: string
|
|
||||||
states:
|
states:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
|
Loading…
Reference in New Issue