mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 19:16:28 +00:00
Replace luacheck with selene
This commit is contained in:
parent
f04748dc57
commit
90fe86fcc5
@ -189,18 +189,18 @@ def install_linters(langs: set[Language]):
|
|||||||
"golangci-lint-{version}-{system}-{arch}.tar.gz",
|
"golangci-lint-{version}-{system}-{arch}.tar.gz",
|
||||||
)
|
)
|
||||||
if Language.LUA in langs:
|
if Language.LUA in langs:
|
||||||
if not maybe_run("lua", "-e", "require('lfs')"):
|
maybe_release_gitter(
|
||||||
maybe_run("luarocks", "--local", "install", "luafilesystem")
|
selene=[
|
||||||
maybe_run("luarocks", "--local", "install", "luacheck", "1.1.0")
|
"--git-url",
|
||||||
maybe_release_gitter(selene=[
|
"https://github.com/Kampfkarren/selene",
|
||||||
"--git-url",
|
"--exec",
|
||||||
"https://github.com/Kampfkarren/selene",
|
os.path.expanduser("chmod +x ~/bin/selene"),
|
||||||
"--exec",
|
"--extract-files",
|
||||||
os.path.expanduser("chmod +x ~/bin/selene"),
|
"selene",
|
||||||
"--extract-files", "selene",
|
"selene-{version}-{system}.zip",
|
||||||
"selene-{version}-{system}.zip",
|
os.path.expanduser("~/bin"),
|
||||||
os.path.expanduser("~/bin"),
|
]
|
||||||
])
|
)
|
||||||
if Language.DOCKER in langs:
|
if Language.DOCKER in langs:
|
||||||
hadolint_arm64 = "arm64"
|
hadolint_arm64 = "arm64"
|
||||||
if sys.platform == "darwin":
|
if sys.platform == "darwin":
|
||||||
|
Loading…
Reference in New Issue
Block a user