-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.opencommit-commitlint
More file actions
27 lines (27 loc) · 2.07 KB
/
.opencommit-commitlint
File metadata and controls
27 lines (27 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"hash": "59adf7bb4dad6cb50de4884d3e8f85b2bad068614c41be9e9b384b572d193b27",
"prompts": [
"There should always be a blank line at the beginning of the body.",
"Each line of the body should always have 100 characters or less.",
"There should always be a blank line at the beginning of the footer.",
"Each line of the footer should always have 100 characters or less.",
"The header should always have 100 characters or less.",
"Please manualy set the prompt for rule \"header-trim\".",
"The subject should never be in one of the following case:\n - sentence-case\n - start-case\n - pascal-case\n - upper-case.",
"The subject should never be empty.",
"The subject should never end with '.'.",
"The type should always be in lower-case case.",
"The type should never be empty.",
"The type should always be one of the following values:\n - build (Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm))\n - chore (Other changes that don't modify src or test files)\n - ci (Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs))\n - docs (Documentation only changes)\n - feat (A new feature)\n - fix (A bug fix)\n - perf (A code change that improves performance)\n - refactor (A code change that neither fixes a bug nor adds a feature)\n - revert (Reverts a previous commit)\n - style (Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc))\n - test (Adding missing tests or correcting existing tests)."
],
"consistency": {
"english": {
"localLanguage": "english",
"commitFix": "fix(server): change variable 'port' to uppercase 'PORT'",
"commitFeat": "feat(server): allow server to listen on environment variable port",
"commitFixOmitScope": "fix: change variable 'port' to uppercase 'PORT'",
"commitFeatOmitScope": "feat: allow server to listen on environment variable port",
"commitDescription": "Fixes variable naming and adds environment variable support"
}
}
}