From 53b36f9666a0b2e96448b6e990d12eb9c8a7297e Mon Sep 17 00:00:00 2001 From: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com> Date: Tue, 27 Jun 2023 12:19:52 +0200 Subject: [PATCH] revert: "feat: add astro filetype to eslint_d handler in typescript pack" (#321) --- lua/astrocommunity/pack/typescript/init.lua | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/lua/astrocommunity/pack/typescript/init.lua b/lua/astrocommunity/pack/typescript/init.lua index 8d011571b..287316b7b 100644 --- a/lua/astrocommunity/pack/typescript/init.lua +++ b/lua/astrocommunity/pack/typescript/init.lua @@ -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, },