mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 01:11:12 +01:00
Modified eslint comment to specifying changing file extension
This commit is contained in:
parent
389082580b
commit
0da810e4c1
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
}),
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue