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
What source code are you linting?
Various.
not relevant.
What did you expect to happen?
No warning to be issued by YARN because of the above.
The eslint-config-prettier should be part of eslint-plugin-prettier dependencies or peerDependencies. other package managers may not report such issue because they are not as strict in having dependencies being declared before being used.
YARN version - IMPORTANT
2.1.1
What actually happened?
(node:7832) [MODULE_NOT_FOUND] Error: eslint-plugin-prettier tried to access eslint-config-prettier, but it isn't
declared in its dependencies; this makes the require call ambiguous and unsound.
then linting happens with no issue.
The text was updated successfully, but these errors were encountered:
What version of
eslint
are you using?v7.6.0
What version of
prettier
are you using?2.0.5
What version of
eslint-plugin-prettier
are you using?3.1.4
Please paste any applicable config files that you're using (e.g.
.prettierrc
or.eslintrc
files)eslintrc
package.json
What source code are you linting?
Various.
not relevant.
What did you expect to happen?
No warning to be issued by YARN because of the above.
The
eslint-config-prettier
should be part ofeslint-plugin-prettier
dependencies or peerDependencies. other package managers may not report such issue because they are not as strict in having dependencies being declared before being used.YARN version - IMPORTANT
2.1.1
What actually happened?
then linting happens with no issue.
The text was updated successfully, but these errors were encountered: