Skip to content

Commit a7d98b3

Browse files
authored
fix(oxlint): remove conform config (#1583)
Conform doesn't have support for oxlint
1 parent d451f1d commit a7d98b3

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

lua/astrocommunity/pack/oxlint/init.lua

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,4 @@ return {
1919
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, { "oxlint" })
2020
end,
2121
},
22-
{
23-
"stevearc/conform.nvim",
24-
optional = true,
25-
opts = function(_, opts)
26-
if not opts.formatters_by_ft then opts.formatters_by_ft = {} end
27-
-- https://oxc.rs/docs/guide/usage/linter.html
28-
local supported_ft = {
29-
"javascript",
30-
"typescript",
31-
"javascriptreact",
32-
"typescriptreact",
33-
"astro",
34-
"svelte",
35-
"vue",
36-
}
37-
for _, ft in ipairs(supported_ft) do
38-
opts.formatters_by_ft[ft] = { "oxlint" }
39-
end
40-
end,
41-
},
4222
}

0 commit comments

Comments
 (0)