1
0
Fork 0

lint(config): default project colors to empty list, split remote into a ref

This commit is contained in:
ssube 2020-08-22 17:49:05 -05:00
parent 1b9eccbdf7
commit 2abe6b66c9
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 20 additions and 17 deletions

View File

@ -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,30 +97,6 @@ definitions:
$ref: "#/definitions/state-change" $ref: "#/definitions/state-change"
default: [] default: []
project:
type: object
required:
- colors
- comment
- flags
- name
- remote
- states
properties:
colors:
type: array
items:
$ref: "#/definitions/hex-string"
comment:
type: boolean
default: true
flags:
type: array
items:
$ref: "#/definitions/flag-label"
default: []
name:
type: string
remote: remote:
type: object type: object
required: required:
@ -139,6 +114,34 @@ definitions:
patternProperties: patternProperties:
".*": ".*":
type: string type: string
project:
type: object
required:
- colors
- comment
- flags
- name
- remote
- states
properties:
colors:
type: array
items:
$ref: "#/definitions/hex-string"
default: []
comment:
type: boolean
default: true
flags:
type: array
items:
$ref: "#/definitions/flag-label"
default: []
name:
type: string
remote:
$ref: "#/definitions/remote"
states: states:
type: array type: array
items: items: