Added eslintd to config
This commit is contained in:
@@ -13,6 +13,11 @@ return {
|
||||
sources = {
|
||||
formatting.stylua,
|
||||
formatting.clang_format,
|
||||
diagnostics.eslint_d.with({
|
||||
condition = function(utils)
|
||||
return utils.root_has_file({ ".eslintrc.js", ".eslintrc.cjs" }) -- only enable if root has .eslintrc.js or .eslintrc.cjs
|
||||
end,
|
||||
}),
|
||||
},
|
||||
|
||||
on_attach = function(client, bufnr)
|
||||
|
||||
Reference in New Issue
Block a user