Skip to content

Commit

Permalink
build: ignore commit lint for CI commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alecarn committed May 31, 2024
1 parent 02fcf07 commit 41dd426
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion commitlint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import { RuleConfigSeverity, UserConfig } from '@commitlint/types';
const Configuration: UserConfig = {
extends: ['@commitlint/config-conventional'],
formatter: '@commitlint/format',
ignores: [(commit) => commit === ''],
ignores: [
(message) => message === '',
(message) => message.includes('[skip ci]')
],
defaultIgnores: true,
rules: {
'body-max-line-length': [RuleConfigSeverity.Warning, 'always', 120]
Expand Down

0 comments on commit 41dd426

Please sign in to comment.