mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 10:01:46 +04:00
Add types to manifests, make it and files optional
This commit is contained in:
parent
cebba0404d
commit
a4e9394cc7
3 changed files with 18 additions and 5 deletions
|
|
@ -44,6 +44,10 @@ CONFIG_JSON_SCHEMA = {
|
|||
'type': 'array',
|
||||
'items': {'type': 'string'},
|
||||
},
|
||||
'types': {
|
||||
'type': 'array',
|
||||
'items': {'type': 'string'}
|
||||
},
|
||||
},
|
||||
'required': ['id'],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue