From 389082580b4bef4c38320b7df1b1a967f46916e5 Mon Sep 17 00:00:00 2001 From: Youtube Date: Sun, 23 Oct 2022 01:46:27 -0400 Subject: [PATCH] Added comment to new eslint config --- .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 ba24920..f9ce475 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") + return utils.root_has_file(".eslintrc.js") -- change file name if you use something else end, }), },