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, },