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
Yarn 2 is a bit more strict in its module resolution requirements. In particular, it requires that all dependencies consumed by a module are mentioned in its package.json.
eslint-plugin-sort-keys-fix violates this requirement by not listing espree, esutils or natural-compare in its dependencies. A simple fix would be to list these dependencies.
When using the ESLint VSCode plugin, the plugin won’t run unless the following is supplied in .yarnrc.yml as a temporary fix:
Yarn 2 is a bit more strict in its module resolution requirements. In particular, it requires that all dependencies consumed by a module are mentioned in its
package.json
.eslint-plugin-sort-keys-fix
violates this requirement by not listingespree
,esutils
ornatural-compare
in its dependencies. A simple fix would be to list these dependencies.When using the ESLint VSCode plugin, the plugin won’t run unless the following is supplied in
.yarnrc.yml
as a temporary fix:The text was updated successfully, but these errors were encountered: