Skip to content

Commit

Permalink
chore(commit-lint): warn for body line length rule (#46)
Browse files Browse the repository at this point in the history
Co-authored-by: Jamie King <[email protected]>
  • Loading branch information
JAdshead and 10xLaCroixDrinker authored Feb 1, 2024
1 parent 1db175c commit 22cf6dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
prepare:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, '[skip ci]')"
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- run: echo "${{ github.event.head_commit.message }}"
release:
Expand Down
1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'scope-case': [2, 'always', ['pascal-case', 'camel-case', 'kebab-case']],
'body-max-line-length': [1, 'always', 100],
},
};

0 comments on commit 22cf6dd

Please sign in to comment.