Skip to content

Commit

Permalink
feat(): add commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsprut committed Jan 7, 2021
1 parent f863c8f commit 3a00e83
Show file tree
Hide file tree
Showing 4 changed files with 4,633 additions and 2,029 deletions.
28 changes: 28 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"extends": ["@commitlint/config-angular"],
"rules": {
"subject-case": [
2,
"always",
["sentence-case", "start-case", "pascal-case", "upper-case", "lower-case"]
],
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test",
"sample"
]
]
}
}
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib
sample
website
.commitlintrc.json
.eslintrc.js
.prettierrc
package-lock.json
Expand Down
Loading

1 comment on commit 3a00e83

@vercel
Copy link

@vercel vercel bot commented on 3a00e83 Jan 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.