Added comment to new eslint config

This commit is contained in:
Youtube 2022-10-23 01:46:27 -04:00
parent ceb94f555d
commit 389082580b

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")
return utils.root_has_file(".eslintrc.js") -- change file name if you use something else
end,
}),
},