This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SpellCheck: | |
enabled: true | |
description: 'Check for misspelled words' | |
required_executable: 'hunspell' | |
flags: ['-a'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MessageFormat: | |
enabled: true | |
description: 'Check commit message matches expected pattern' | |
pattern: 'Close #(.+)[|](.+)' | |
expected_pattern_message: 'Close #<Issue Id> | <Description>' | |
sample_message: 'Close #BUG-1234 | Fix syntax bug' | |
on_warn: fail |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
endTrailingPeriod: | |
enabled: true | |
description: 'Check for trailing periods in subject' | |
required: true | |
on_warn: fail | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CapitalizedSubject: | |
enabled: true | |
description: 'Check subject capitalization' | |
on_warn: fail | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TextWidth: | |
enabled: true | |
description: 'Check text width' | |
max_subject_width: 60 | |
min_subject_width: 4 | |
max_body_width: 72 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EmptyMessage: | |
enabled: true | |
description: 'Check for empty commit message' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BundleInstall: | |
enabled: true | |
description: 'Install Bundler dependencies' | |
requires_files: true | |
required_executable: 'bundle' | |
install_command: 'gem install bundler' | |
flags: ['install'] | |
include: | |
- 'Gemfile' | |
- 'Gemfile.lock' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<filter multiline.**> | |
@type concat | |
key message | |
stream_identity_key request_id | |
multiline_start_regexp /^I, \[.+\] INFO -- : \[.+\] Started.+for.+at.+/ | |
multiline_end_regexp /^I, \[.+\] INFO -- : \[.+\] Completed.+/ | |
flush_interval 60 | |
timeout_label @MULTILINE_LOGS | |
</filter> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<filter multiline.**> | |
@type concat | |
key message | |
stream_identity_key request_id | |
multiline_start_regexp /^I, \[.+\] INFO -- : \[.+\] Started.+for.+at.+/ | |
multiline_end_regexp /^I, \[.+\] INFO -- : \[.+\] Completed.+/ | |
flush_interval 60 | |
timeout_label @MULTILINE_LOGS | |
</filter> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<filter multiline.**> | |
@type concat | |
key message | |
multiline_start_regexp /^(E|F), \[[^ ]+ \#\d+\]( )+[^ ]+ -- :/ | |
continuous_line_regexp /^(?!(^., \[[^ ]+ \#\d+\]( )+[^ ]+ -- :)).+/ | |
flush_interval 60 | |
timeout_label @MULTILINE_LOGS | |
</filter> |