diff options
author | Joris Roovers <joris.roovers@gmail.com> | 2020-09-26 16:47:56 +0200 |
---|---|---|
committer | Joris Roovers <joris.roovers@gmail.com> | 2020-09-26 16:47:56 +0200 |
commit | 429b2449df6942214ab9b8e24e2344f2164ba513 (patch) | |
tree | de6ef81810a4e02245d9ef47114a3ad661be2e2c /qa | |
parent | a759f5ab0164e2ac9163c735b3218ed868a30633 (diff) |
Set regex of TitleRegexMatches to None by default
Before, TitleRegexMatches would evaluate every commit title against '.*', this
was unnecessarily expensive.
Diffstat (limited to 'qa')
-rw-r--r-- | qa/expected/test_commits/test_lint_staged_msg_filename_1 | 2 | ||||
-rw-r--r-- | qa/expected/test_commits/test_lint_staged_stdin_1 | 2 | ||||
-rw-r--r-- | qa/expected/test_config/test_config_from_file_debug_1 | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/qa/expected/test_commits/test_lint_staged_msg_filename_1 b/qa/expected/test_commits/test_lint_staged_msg_filename_1 index 2471cf5..5928cc1 100644 --- a/qa/expected/test_commits/test_lint_staged_msg_filename_1 +++ b/qa/expected/test_commits/test_lint_staged_msg_filename_1 @@ -39,7 +39,7 @@ target: {target} T5: title-must-not-contain-word words=WIP T7: title-match-regex - regex=.* + regex=None B1: body-max-line-length line-length=80 B5: body-min-length diff --git a/qa/expected/test_commits/test_lint_staged_stdin_1 b/qa/expected/test_commits/test_lint_staged_stdin_1 index 1f06faa..672a5a7 100644 --- a/qa/expected/test_commits/test_lint_staged_stdin_1 +++ b/qa/expected/test_commits/test_lint_staged_stdin_1 @@ -39,7 +39,7 @@ target: {target} T5: title-must-not-contain-word words=WIP T7: title-match-regex - regex=.* + regex=None B1: body-max-line-length line-length=80 B5: body-min-length diff --git a/qa/expected/test_config/test_config_from_file_debug_1 b/qa/expected/test_config/test_config_from_file_debug_1 index e04df37..6659a28 100644 --- a/qa/expected/test_config/test_config_from_file_debug_1 +++ b/qa/expected/test_config/test_config_from_file_debug_1 @@ -39,7 +39,7 @@ target: {target} T5: title-must-not-contain-word words=WIP,thåt T7: title-match-regex - regex=.* + regex=None B1: body-max-line-length line-length=30 B5: body-min-length |