-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add dev dependencies for commitlint
- Loading branch information
1 parent
467b2b9
commit 855ed07
Showing
3 changed files
with
1,133 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
module.exports = { | ||
rules: { | ||
'body-leading-blank': [1, 'always'], | ||
|
||
'footer-leading-blank': [1, 'always'], | ||
|
||
'header-max-length': [2, 'always', 72], | ||
|
||
'scope-case': [2, 'always', 'upper-case'], | ||
|
||
'subject-case': [ | ||
2, | ||
'never', | ||
['sentence-case', 'start-case', 'pascal-case', 'upper-case'] | ||
], | ||
|
||
'subject-empty': [2, 'never'], | ||
|
||
'subject-full-stop': [2, 'never', '.'], | ||
|
||
'type-case': [2, 'always', 'lower-case'], | ||
|
||
'type-empty': [2, 'never'], | ||
|
||
'type-enum': [ | ||
2, | ||
'always', | ||
[ | ||
'build', | ||
'chore', | ||
'ci', | ||
'docs', | ||
'feat', | ||
'fix', | ||
'perf', | ||
'refact', | ||
'revert', | ||
'style', | ||
'tests', | ||
'ui' | ||
] | ||
] | ||
} | ||
}; |
Oops, something went wrong.