im trying to view my code that is running from browser using npm start. everything loads perfect but i still have this error code:
Failed to load config "airbnb" to extend from.
Referenced from: /Users/samiennaciri/Desktop/pg_se/.eslintrc.js```
CodePudding user response:
You are trying to use the airbnb eslint configuration without having it installed. Install the package and following the instructions: https://www.npmjs.com/package/eslint-config-airbnb
npm install --save-dev eslint-config-airbnb
CodePudding user response:
Install these packages
npm install -g install-peerdeps install-peerdeps --dev eslint-config-airbnb install-peerdeps --dev eslint-config-airbnb-base