summaryrefslogtreecommitdiffstats
path: root/qa
diff options
context:
space:
mode:
authorJoris Roovers <joris.roovers@gmail.com>2021-09-27 11:06:06 +0200
committerJoris Roovers <joris.roovers@gmail.com>2021-09-27 13:11:54 +0200
commit0f59473fcd4e556bea05095b3169bedfc80587e8 (patch)
tree5b827ddfda734678c709d36360ac5d6ddea58e31 /qa
parentef43b81041d0593bb0f1b9f16557ad73ffbcef3b (diff)
Adds fail-without-commits option in LintConfig
This only introduces the feature flag in the lint config, the actual functionally still needs to be implemented. Relates to #193
Diffstat (limited to 'qa')
-rw-r--r--qa/expected/test_commits/test_lint_staged_msg_filename_11
-rw-r--r--qa/expected/test_commits/test_lint_staged_stdin_11
-rw-r--r--qa/expected/test_config/test_config_from_env_11
-rw-r--r--qa/expected/test_config/test_config_from_env_21
-rw-r--r--qa/expected/test_config/test_config_from_file_debug_11
5 files changed, 5 insertions, 0 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 eb2682f..cb5a9e3 100644
--- a/qa/expected/test_commits/test_lint_staged_msg_filename_1
+++ b/qa/expected/test_commits/test_lint_staged_msg_filename_1
@@ -18,6 +18,7 @@ ignore-squash-commits: True
ignore-revert-commits: True
ignore-stdin: False
staged: True
+fail-without-commits: False
verbosity: 3
debug: True
target: {target}
diff --git a/qa/expected/test_commits/test_lint_staged_stdin_1 b/qa/expected/test_commits/test_lint_staged_stdin_1
index 76b5048..ee689fb 100644
--- a/qa/expected/test_commits/test_lint_staged_stdin_1
+++ b/qa/expected/test_commits/test_lint_staged_stdin_1
@@ -18,6 +18,7 @@ ignore-squash-commits: True
ignore-revert-commits: True
ignore-stdin: False
staged: True
+fail-without-commits: False
verbosity: 3
debug: True
target: {target}
diff --git a/qa/expected/test_config/test_config_from_env_1 b/qa/expected/test_config/test_config_from_env_1
index f3947bb..e1101fc 100644
--- a/qa/expected/test_config/test_config_from_env_1
+++ b/qa/expected/test_config/test_config_from_env_1
@@ -18,6 +18,7 @@ ignore-squash-commits: True
ignore-revert-commits: True
ignore-stdin: True
staged: False
+fail-without-commits: False
verbosity: 2
debug: True
target: {target}
diff --git a/qa/expected/test_config/test_config_from_env_2 b/qa/expected/test_config/test_config_from_env_2
index 8d36672..4559aaf 100644
--- a/qa/expected/test_config/test_config_from_env_2
+++ b/qa/expected/test_config/test_config_from_env_2
@@ -18,6 +18,7 @@ ignore-squash-commits: True
ignore-revert-commits: True
ignore-stdin: False
staged: True
+fail-without-commits: False
verbosity: 0
debug: True
target: {target}
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 540c3a0..6dd885b 100644
--- a/qa/expected/test_config/test_config_from_file_debug_1
+++ b/qa/expected/test_config/test_config_from_file_debug_1
@@ -18,6 +18,7 @@ ignore-squash-commits: True
ignore-revert-commits: True
ignore-stdin: False
staged: False
+fail-without-commits: False
verbosity: 2
debug: True
target: {target}