We are using pnpm as our package manager inside our Astro React project.
I need to setup Eslint config Airbnb.
In the readme it says use npx install-peerdeps --dev eslint-config-airbnb to install all dependencies.
How do I do that with pnpm?
We are using pnpm as our package manager inside our Astro React project.
I need to setup Eslint config Airbnb.
In the readme it says use npx install-peerdeps --dev eslint-config-airbnb to install all dependencies.
How do I do that with pnpm?
Copyright © 2021 Jogjafile Inc.
Actually you can use pnpm built in functionality to install dependency with peers.
Related question
Execute this in your project directory.
It will create
.npmrcfile with optionauto-install-peers=trueThen deletepnpm-lock.yamland runTo install dependencies with peers