Skip to content

Commit

Permalink
Add eslint_d support
Browse files Browse the repository at this point in the history
  • Loading branch information
eruizc-dev committed Oct 19, 2021
1 parent 0fb8a1f commit 03ad37f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lua/nvim-efm-setup/configs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,17 @@ return {
lintSeverity = 3,
},
},
eslint_d = {
filetypes = { "js", "ts", "jsx", "tsx" },
root_patterns = { ".eslintrc" },
healthCheck = "eslint_d --version",
settings = {
lintCommand = "eslint_d -f unix --stdin",
lintStdin = true,
lintFormats = { "%f:%l:%c: %m" },
lintIgnoreExitCode = true,
formatCommand = "eslint_d --fix-to-stdout --stdin",
formatStdin = true,
},
},
}

0 comments on commit 03ad37f

Please sign in to comment.