Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update commitlintrc.json #1443

Merged
merged 1 commit into from
Jan 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
32 changes: 29 additions & 3 deletions src/schemas/json/commitlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"description": "Value: the value for this rule"
}
],
"minItems": 3,
"minItems": 2,
"maxItems": 3,
"additionalItems": false
}
]
Expand All @@ -30,11 +31,31 @@
"properties": {
"extends": {
"description": "Resolveable ids to commitlint configurations to extend",
"type": "array",
"items": { "type": "string" }
"oneOf": [
{
"type": "array",
"items": { "type": "string" }
},
{ "type": "string" }
]
},
"parserPreset": {
"description": "Resolveable id to conventional-changelog parser preset to import and use",
"oneOf": [
{ "type": "string" },
{
"type": "object",
"properties": {
"name": { "type": "string" },
"path": { "type": "string" },
"parserOpts": {}
},
"additionalProperties": false
}
]
},
"helpUrl": {
"description": "Custom URL to show upon failure",
"type": "string"
},
"formatter": {
Expand All @@ -52,6 +73,11 @@
"type": "array",
"items": { "type": "string" }
},
"ignores": {
"description": "Additional commits to ignore, defined by ignore matchers",
"type": "array",
"items": { }
},
"defaultIgnores": {
"description": "Whether commitlint uses the default ignore rules",
"type": "boolean"
Expand Down