Description
Increasing Access
Currently you cannot run npm install
to set up the development environment. You must run npm install --legacy-peer-deps
. This could be confusing to new developers and make it harder to contribute.
Feature enhancement details
I'm creating this issue so that I can fix it.
npm install
does not work in this repo right now due to a dependency conflict on the eslint
package. We are using eslint
version 7.31.0
. However we are using an outdated version of eslint-config-airbnb
which expects a much older version of eslint
.
We have eslint-config-airbnb@^16.1.0
which expects a peer dependency of eslint@^4.9.0
. We can fix the conflict by updating the eslint-config-airbnb
package to its latest version which is in the 19.x
range -- up 3 major versions. This has not been done previously because updating that package introduces lots of new rules and causes lots of code to fail linting checks. I opened #2217 to discuss the specifics of what new rules we like and don't like. In order to upgrade the package and fix the npm install
conflict without changing lots of code, I recommend modifying the .eslintrc
config to mimic the current rule conditions. We can then tackle rules one-by-one.