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" },
|
cpp = { "clang-format" },
|
||||||
hcl = { "hcl" },
|
hcl = { "hcl" },
|
||||||
toml = { "taplo" },
|
toml = { "taplo" },
|
||||||
htmlhugo = { "prettier" },
|
htmlhugo = { "prettierd", "prettier" },
|
||||||
markdown = { "prettier" },
|
markdown = { "prettierd", "prettier" },
|
||||||
},
|
},
|
||||||
formatters = {
|
formatters = {
|
||||||
csharpier = {
|
csharpier = {
|
||||||
|
|
|
@ -10,21 +10,10 @@ M.config = function()
|
||||||
local lint = require("lint")
|
local lint = require("lint")
|
||||||
|
|
||||||
lint.linters_by_ft = {
|
lint.linters_by_ft = {
|
||||||
javascript = {
|
javascript = {},
|
||||||
"eslint_d",
|
typescript = {},
|
||||||
},
|
javascriptreact = {},
|
||||||
typescript = {
|
typescriptreact = {},
|
||||||
"eslint_d",
|
|
||||||
},
|
|
||||||
javascriptreact = {
|
|
||||||
"eslint_d",
|
|
||||||
},
|
|
||||||
typescriptreact = {
|
|
||||||
"eslint_d",
|
|
||||||
},
|
|
||||||
-- go = {
|
|
||||||
-- "revive",
|
|
||||||
-- },
|
|
||||||
}
|
}
|
||||||
|
|
||||||
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
|
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
|
||||||
|
|
|
@ -110,9 +110,9 @@ function M.config()
|
||||||
"latexindent",
|
"latexindent",
|
||||||
"clang-format",
|
"clang-format",
|
||||||
"csharpier",
|
"csharpier",
|
||||||
|
"quick-lint-js",
|
||||||
|
|
||||||
-- Additional tools
|
-- Additional tools
|
||||||
"eslint_d",
|
|
||||||
"templ",
|
"templ",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue