mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 17:21:23 +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
|
diagnostics.eslint_d.with({ -- js/ts linter
|
||||||
-- only enable eslint if root has .eslintrc.js (not in youtube nvim video)
|
-- only enable eslint if root has .eslintrc.js (not in youtube nvim video)
|
||||||
condition = function(utils)
|
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,
|
end,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue