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 the working directory is not the root of the project the prettie intigration fails becaue it does not use the prettier command "closets" to the source file edited:
when calling :Autoformat in file test.js the intigration needs to make sure that the prettier in proj1/node_modules/.bin/prettier is called not the one in the top level node_modules folder so that project specific settings are used.
Basicly the same logic i've done with the eslint_local intigration.
I'll try to come up with a patch for this in the next few days.
The text was updated successfully, but these errors were encountered:
About the logic in eslint, there is a PR in the making that aims let eslint do all the work of find its config files. You might want to look at that and/or consider this approach for prettier.
When the working directory is not the root of the project the prettie intigration fails becaue it does not use the prettier command "closets" to the source file edited:
when calling
:Autoformat
in filetest.js
the intigration needs to make sure that the prettier inproj1/node_modules/.bin/prettier
is called not the one in the top level node_modules folder so that project specific settings are used.Basicly the same logic i've done with the
eslint_local
intigration.I'll try to come up with a patch for this in the next few days.
The text was updated successfully, but these errors were encountered: