mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
build(deps): bump luacheck to 1.1.0-1
also ignore two new warnings showing false positives
This commit is contained in:
@@ -19,8 +19,10 @@ cache = true
|
|||||||
ignore = {
|
ignore = {
|
||||||
"631", -- max_line_length
|
"631", -- max_line_length
|
||||||
"212/_.*", -- unused argument, for vars with "_" prefix
|
"212/_.*", -- unused argument, for vars with "_" prefix
|
||||||
|
"214", -- used variable with unused hint ("_" prefix)
|
||||||
"121", -- setting read-only global variable 'vim'
|
"121", -- setting read-only global variable 'vim'
|
||||||
"122", -- setting read-only field of global variable 'vim'
|
"122", -- setting read-only field of global variable 'vim'
|
||||||
|
"581", -- negation of a relational operator- operator can be flipped (not for tables)
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Global objects defined by the C code
|
-- Global objects defined by the C code
|
||||||
|
@@ -140,7 +140,7 @@ if(USE_BUNDLED_BUSTED)
|
|||||||
|
|
||||||
# luacheck
|
# luacheck
|
||||||
add_custom_command(OUTPUT ${LUACHECK_EXE}
|
add_custom_command(OUTPUT ${LUACHECK_EXE}
|
||||||
COMMAND ${LUAROCKS_BINARY} build luacheck 0.23.0-1 ${LUAROCKS_BUILDARGS}
|
COMMAND ${LUAROCKS_BINARY} build luacheck 1.1.0-1 ${LUAROCKS_BUILDARGS}
|
||||||
DEPENDS busted)
|
DEPENDS busted)
|
||||||
add_custom_target(luacheck ALL DEPENDS ${LUACHECK_EXE})
|
add_custom_target(luacheck ALL DEPENDS ${LUACHECK_EXE})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user