Peer-dependencies not being installed
Closed this issue · 3 comments
LauraBeatris commented
Steps to reproduce
- Create a react app
- Install
eslint
dependencies -yarn add eslint @jungsoft/eslint-config
- Create .eslintrc file, extending the
@jungsoft/eslint-config/react
shareable config - Run
yarn eslint .ts,.tsx --fix
LauraBeatris commented
LauraBeatris commented
There are some projects that have different behavior when installing the shareable config. Yarn doesn't recognize the peer-dependencies.
LauraBeatris commented
Yarn doesn't install the peer-dependencies in the development environment, by default.
According to this PR yarnpkg/yarn#4689, it would work by installing the dependencies using the --peer
flag.