You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
npx create-react-app my-app --scripts-version=react-scripts-ts
cd my-app
npm run eject
Open a JS file, e.g. ./scripts/start.js
I am using Atom editor with linter-eslint, so it picks up the eslintConfig from ./package.json and it throws the Error: Error while running ESLint: Cannot find module 'eslint-config-react-app'
Expected Behavior
No ESLint Error on opening a JS file.
Which would probably be solved by either have no eslintConfig in ./package.json or have the stated react-app dependency installed.
Actual Behavior
After ejecting, if one then scrolls down to the bottom of ./package.json, it shows:
{
"eslintConfig": {
"extends": "react-app"
}
}
Yet the dependency is missing:
npm ls eslint-config-react-app
my-app@0.1.0 /home/aurelien/tmp/my-app
└── (empty)