2023-04-10 01:05:25 +02:00
|
|
|
local null_ls = require("null-ls")
|
|
|
|
|
|
|
|
null_ls.setup({
|
|
|
|
sources = {
|
|
|
|
-- Code actions
|
|
|
|
null_ls.builtins.code_actions.shellcheck,
|
|
|
|
null_ls.builtins.code_actions.statix,
|
|
|
|
-- Diagnostics
|
2023-10-08 13:32:42 +02:00
|
|
|
null_ls.builtins.diagnostics.checkmake,
|
2023-04-10 01:05:25 +02:00
|
|
|
null_ls.builtins.diagnostics.deadnix,
|
2023-10-08 13:32:42 +02:00
|
|
|
null_ls.builtins.diagnostics.dotenv_linter,
|
|
|
|
null_ls.builtins.diagnostics.fish,
|
|
|
|
null_ls.builtins.diagnostics.jsonlint,
|
2023-04-10 01:05:25 +02:00
|
|
|
null_ls.builtins.diagnostics.shellcheck,
|
|
|
|
null_ls.builtins.diagnostics.statix,
|
2023-10-08 13:32:42 +02:00
|
|
|
null_ls.builtins.diagnostics.trail_space,
|
|
|
|
null_ls.builtins.diagnostics.yamllint,
|
2023-04-10 01:05:25 +02:00
|
|
|
},
|
|
|
|
})
|