Skip to content

Commit 4a069f5

Browse files
committed
bad commit message
1 parent f147591 commit 4a069f5

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.husky/commit-msg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
33

4-
npx --no-intall commitlint --edit "$1"
4+
npx --no -- commitlint --edit "$1"

commitlint.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
// 'header-max-length': [2, 'always', 72],
77
// 'scope-case': [2, 'always', 'lower-case'],
88
// 'subject-case': [2, 'always', ['sentence-case', 'start-case', 'pascal-case', 'upper-case']],
9-
'subject-case': [2, 'always', 'sentence-case'],
9+
1010
// 'subject-empty': [2, 'never'],
1111
// 'subject-full-stop': [2, 'never', '.'],
1212
// 'type-case': [2, 'always', 'lower-case'],
@@ -22,5 +22,6 @@ module.exports = {
2222
'chore', // Changes to the build process or auxiliary tools and libraries
2323
'revert' // Reverts a previous commit
2424
]],
25+
'subject-case': [2, 'always', 'sentence-case'],
2526
},
2627
};

src/app.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('check');

0 commit comments

Comments
 (0)