blob: e7a522776cfe5e2b1247b95b41f3fd54a899a0da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
local util = require("conform.util")
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/mantoni/eslint_d.js/",
description = "Like ESLint, but faster.",
},
command = util.from_node_modules("eslint_d"),
args = { "--fix-to-stdout", "--stdin", "--stdin-filename", "$FILENAME" },
cwd = util.root_file({
"package.json",
}),
}
|