Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-4
Commits
5f97943d
Commit
5f97943d
authored
Aug 14, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 增加 git commit 校验
parent
9cdb58cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
commitlint.config.js
commitlint.config.js
+6
-2
No files found.
commitlint.config.js
View file @
5f97943d
...
...
@@ -4,12 +4,16 @@
* @Author: 无尘
* @Date: 2020-08-14 10:52:37
* @LastEditors: 无尘
* @LastEditTime: 2020-08-14 11:
00:35
* @LastEditTime: 2020-08-14 11:
22:03
*/
module
.
exports
=
{
extends
:
[
'@commitlint/config-conventional'
],
rules
:
{
'type-enum'
:
[
'scope-empty'
:
[
0
],
'scope-case'
:
[
0
],
'subject-full-stop'
:
[
0
,
'never'
],
'subject-case'
:
[
0
,
'never'
],
'type-enum'
:
[
// commit type 类型
2
,
'always'
,
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment