DMDcoin / diamond-ui

DMD v4 testnet UI for DMD Services
1 stars 3 forks source link

activate airbnb eslint config #14

Open SurfingNerd opened 1 year ago

SurfingNerd commented 1 year ago

as for other typescript react project we are using the airbnb eslint configuration

because of downgrading react-scripts we have now a conflict here: https://github.com/DMDcoin/diamond-ui/issues/15

we ended up using eslint@8.35.0 to support latest typescript version. downgrading typescipt version or fixing the react-script problem could solve the issue.

Error

> diamond-ui@0.1.0 start
> react-scripts start

There might be a problem with the project dependency tree.
It is likely not a bug in Create React App, but something you need to fix locally.

The react-scripts package provided by Create React App requires a dependency:

  "eslint": "^7.11.0"

Don't try to install it manually: your package manager does it automatically.
However, a different version of eslint was detected higher up in the tree:

  /home/sn/dmd/dmd-meta/dmd-ui/node_modules/eslint (version: 8.35.0)