I'm developing an app for web and mobile so I'm using expo where if I run the app for android it works fine but when I want to run for web using yarn run web
it showing an error.
Failed to compile.
/usr/local/lib/node_modules/expo-cli/node_modules/react-error-overlay/lib/index.js
Line 1: 'define' is not defined no-undef
Line 1: 'define' is not defined no-undef
Line 1: 'regeneratorRuntime' is not defined no-undef
I already installed and configured eslint-config-universe.and also tried with below config
"env": {
"amd": true
},
.eslintrc.js
module.exports = {
extends: ["universe","universe/node", "universe/web","universe/native"],
};
package.json
"eslintConfig": {
"extends": ["universe","universe/node", "universe/web","universe/native"]
}
so what is the actual config for eslint for expo web so I can run expo start --web without any eslint config error