From 0da810e4c1201ad8ce64a7610344421a9af97187 Mon Sep 17 00:00:00 2001 From: Youtube Date: Sun, 23 Oct 2022 01:48:55 -0400 Subject: [PATCH] Modified eslint comment to specifying changing file extension --- .config/nvim/lua/josean/plugins/lsp/null-ls.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/josean/plugins/lsp/null-ls.lua b/.config/nvim/lua/josean/plugins/lsp/null-ls.lua index f9ce475..a80fc69 100644 --- a/.config/nvim/lua/josean/plugins/lsp/null-ls.lua +++ b/.config/nvim/lua/josean/plugins/lsp/null-ls.lua @@ -22,7 +22,7 @@ null_ls.setup({ diagnostics.eslint_d.with({ -- js/ts linter -- only enable eslint if root has .eslintrc.js (not in youtube nvim video) condition = function(utils) - return utils.root_has_file(".eslintrc.js") -- change file name if you use something else + return utils.root_has_file(".eslintrc.js") -- change file extension if you use something else end, }), },