Home>

[What I did]

  1. In package.json, name is set to "app".
    By doing so, app can be treated as the project root when importing each library,
import HomeScreen from 'app/src/screens/HomeScreen'


It was made possible to specify with etc.

  1. When eslint is set, the above app cannot be read as the project root, and an import error occurs as eslint's judgment.

  2. I thought it would work if I wrote eslintConfig in package.json, but eslint itself stopped working.

[]
I want to keep eslint aware of it while leaving the app.project root setting in package.json.

I have investigated various things, but I can't catch it. Can anyone give me advice?