aboutsummaryrefslogtreecommitdiff
path: root/scripts/lintcommit.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-09-26 21:13:59 +0200
committerGitHub <noreply@github.com>2021-09-26 12:13:59 -0700
commit3246bf5f4e24025b4a14ed99eeb4a8f954626519 (patch)
treeec5b8789eadf775e0151c0e6d3db7835973ae30b /scripts/lintcommit.lua
parent9686c21237cab5d0035cfed181f5f5cdcc90bd5a (diff)
downloadrneovim-3246bf5f4e24025b4a14ed99eeb4a8f954626519.tar.gz
rneovim-3246bf5f4e24025b4a14ed99eeb4a8f954626519.tar.bz2
rneovim-3246bf5f4e24025b4a14ed99eeb4a8f954626519.zip
ci(lintcommit.lua): replace third-party commitlint #15747
Diffstat (limited to 'scripts/lintcommit.lua')
-rw-r--r--scripts/lintcommit.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lintcommit.lua b/scripts/lintcommit.lua
index 11ad8eb9ef..98f9da246c 100644
--- a/scripts/lintcommit.lua
+++ b/scripts/lintcommit.lua
@@ -91,7 +91,7 @@ local function validate_commit(commit_message)
-- Check that description doesn't end with a period
if vim.endswith(after_colon, ".") then
- return [[Description ends with a period (\".\").]]
+ return [[Description ends with a period (".").]]
end
-- Check that description has exactly one whitespace after colon, followed by