-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: use relaxed conventional commits standard (#205)
- Loading branch information
1 parent
2457a1f
commit ec77181
Showing
1 changed file
with
1 addition
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,3 @@ | ||
{ | ||
extends:['@commitlint/config-conventional'], | ||
rules: { | ||
'scope-case': [2, 'always', 'lower-case'], | ||
'scope-enum': [ | ||
2, | ||
'always', | ||
[ | ||
'web', | ||
'client-http', | ||
'server', | ||
'react', | ||
'examples' | ||
], | ||
], | ||
}, | ||
prompt: { | ||
questions: { | ||
scope: { | ||
description: | ||
'What is the scope of this change (e.g. component or file name)', | ||
enum: { | ||
web: { | ||
description: "Change in the web provider", | ||
title: 'OpenFeature Web Provider', | ||
}, | ||
server: { | ||
description: "Change in the server provider", | ||
title: 'OpenFeature Server Provider', | ||
}, | ||
['client-http']: { | ||
description: "Change in the confidence HTTP Client", | ||
title: 'Confidence HTTP client', | ||
}, | ||
react: { | ||
description: "Change in the React integration", | ||
title: 'Integration React', | ||
}, | ||
examples: { | ||
description: "Change to an example app", | ||
title: 'Example', | ||
} | ||
} | ||
}, | ||
}, | ||
}, | ||
extends:['@commitlint/config-conventional'] | ||
} |