Skip to content

Commit

Permalink
revert: "feat: add astro filetype to eslint_d handler in typescript p…
Browse files Browse the repository at this point in the history
…ack" (#321)
  • Loading branch information
Uzaaft authored Jun 27, 2023
1 parent fa131c2 commit 53b36f9
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions lua/astrocommunity/pack/typescript/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,9 @@ return {

opts.handlers.eslint_d = function()
local null_ls = require "null-ls"
null_ls.register(
null_ls.builtins.diagnostics.eslint_d.with { condition = has_eslint, extra_filetypes = "astro" }
)
null_ls.register(
null_ls.builtins.formatting.eslint_d.with { condition = has_eslint, extra_filetypes = "astro" }
)
null_ls.register(
null_ls.builtins.code_actions.eslint_d.with { condition = has_eslint, extra_filetypes = "astro" }
)
null_ls.register(null_ls.builtins.diagnostics.eslint_d.with { condition = has_eslint })
null_ls.register(null_ls.builtins.formatting.eslint_d.with { condition = has_eslint })
null_ls.register(null_ls.builtins.code_actions.eslint_d.with { condition = has_eslint })
end
end,
},
Expand Down

0 comments on commit 53b36f9

Please sign in to comment.