Luacheck diagnostics source for none-ls.nvim.
Since this diagnostic was deprecated from none-ls.nvim (see this issue) because selene is a better alternative, this repository allows to keep using Luacheck with none-ls.nvim.
Note: This plugin is not intended to be used alone, it is a dependency of none-ls.nvim.
This should be used as a dependency of none-ls.nvim.
{
{
"nvimtools/none-ls.nvim",
dependencies = {
"gbprod/none-ls-luacheck.nvim",
},
},
}
Follow the steps in null-ls setup section.
local null_ls = require("null-ls")
null_ls.setup {
sources = {
require("none-ls-luacheck.diagnostics.luacheck"),
...
}
}
You can search for sources via the none-ls-sources
topic.