Modified eslint comment to specifying changing file extension

This commit is contained in:
Youtube 2022-10-23 01:48:55 -04:00
parent 389082580b
commit 0da810e4c1

View file

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