ci(lintcommit.lua): replace third-party commitlint #15747

This commit is contained in:
dundargoc
2021-09-26 21:13:59 +02:00
committed by GitHub
parent 9686c21237
commit 3246bf5f4e
4 changed files with 6 additions and 70 deletions

View File

@@ -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