mirror of
https://github.com/marianozunino/nvim.git
synced 2025-06-28 10:33:49 -03:00
chore: replace eslintd with quick-lint-js
This commit is contained in:
parent
1020911f18
commit
684ee6d508
3 changed files with 7 additions and 18 deletions
|
@ -25,8 +25,8 @@ return {
|
|||
cpp = { "clang-format" },
|
||||
hcl = { "hcl" },
|
||||
toml = { "taplo" },
|
||||
htmlhugo = { "prettier" },
|
||||
markdown = { "prettier" },
|
||||
htmlhugo = { "prettierd", "prettier" },
|
||||
markdown = { "prettierd", "prettier" },
|
||||
},
|
||||
formatters = {
|
||||
csharpier = {
|
||||
|
|
|
@ -10,21 +10,10 @@ M.config = function()
|
|||
local lint = require("lint")
|
||||
|
||||
lint.linters_by_ft = {
|
||||
javascript = {
|
||||
"eslint_d",
|
||||
},
|
||||
typescript = {
|
||||
"eslint_d",
|
||||
},
|
||||
javascriptreact = {
|
||||
"eslint_d",
|
||||
},
|
||||
typescriptreact = {
|
||||
"eslint_d",
|
||||
},
|
||||
-- go = {
|
||||
-- "revive",
|
||||
-- },
|
||||
javascript = {},
|
||||
typescript = {},
|
||||
javascriptreact = {},
|
||||
typescriptreact = {},
|
||||
}
|
||||
|
||||
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
|
||||
|
|
|
@ -110,9 +110,9 @@ function M.config()
|
|||
"latexindent",
|
||||
"clang-format",
|
||||
"csharpier",
|
||||
"quick-lint-js",
|
||||
|
||||
-- Additional tools
|
||||
"eslint_d",
|
||||
"templ",
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue