mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -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]]
|
return [[Scope can't be empty]]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if scope == 'ci' then
|
||||||
|
return [[Scope can't be "ci", use it as a type instead]]
|
||||||
|
end
|
||||||
|
|
||||||
if vim.startswith(scope, 'nvim_') then
|
if vim.startswith(scope, 'nvim_') then
|
||||||
return [[Scope should be "api" instead of "nvim_..."]]
|
return [[Scope should be "api" instead of "nvim_..."]]
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user