You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When developing Node.js apps, it's pretty common for a project to use NPM packages to define presets for linting settings. When a project is "docker-ized", the npm_modules directory is often installed to a Docker volume rather than within the host system. This has the drawback of making the presets unavailable to the host machine that Vim is running on.
I saw that ALE offers a g:ale_command_wrapper setting which can allow you to write a script that will run the linter within Docker. An example can be found here. The example is for a Python linter but the same approach works for Node projects when using ALE.
Is there a way to do this with coc-eslint?
The text was updated successfully, but these errors were encountered:
When developing Node.js apps, it's pretty common for a project to use NPM packages to define presets for linting settings. When a project is "docker-ized", the
npm_modules
directory is often installed to a Docker volume rather than within the host system. This has the drawback of making the presets unavailable to the host machine that Vim is running on.I saw that ALE offers a
g:ale_command_wrapper
setting which can allow you to write a script that will run the linter within Docker. An example can be found here. The example is for a Python linter but the same approach works for Node projects when using ALE.Is there a way to do this with
coc-eslint
?The text was updated successfully, but these errors were encountered: