Skip to content

Commit

Permalink
build(commitlint): Remove subject-case ENFORCEMENT (#369)
Browse files Browse the repository at this point in the history
* remove subject-case enforcement

* edit config
  • Loading branch information
jaredvu authored Mar 8, 2024
1 parent 1fb1ac8 commit 3a07d08
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
- name: Install dependencies
run: |
pnpm install @commitlint/config-conventional
echo "module.exports = {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [0,'always',['sentence-case']],'header-max-length': [2, 'always', 120], 'body-max-line-length': [0, 'always', 120] }};" > commitlint.config.js
- name: Lint PR Title
run: |
Expand Down
9 changes: 8 additions & 1 deletion commitlint.config.ts
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
export default { extends: ['@commitlint/config-conventional'] };
export default {
extends: ['@commitlint/config-conventional'],
rules: {
'subject-case': [0, 'never'],
'header-max-length': [2, 'always', 120],
'body-max-line-length': [0, 'always', 120],
},
};

0 comments on commit 3a07d08

Please sign in to comment.