mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
build(lint): scope can't be ci
, use it as a type instead
This commit is contained in:
parent
263cbcd80b
commit
180ca99dbe
@ -102,6 +102,10 @@ local function validate_commit(commit_message)
|
||||
return [[Scope can't be empty]]
|
||||
end
|
||||
|
||||
if scope == 'ci' then
|
||||
return [[Scope can't be "ci", use it as a type instead]]
|
||||
end
|
||||
|
||||
if vim.startswith(scope, 'nvim_') then
|
||||
return [[Scope should be "api" instead of "nvim_..."]]
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user