eslint with eslint-config-universe parse errors on all react-native imports

Please provide the following:

  1. SDK Version: 44.0.0
  2. Platforms(Android/iOS/web/all): All

On a completely new and default project, only ran ‘expo init . --blank’ and then following the steps in expo/packages/eslint-config-universe at main · expo/expo · GitHub to setup eslint I get 'Parse errors in imported module ‘react-native’: Unexpected token typeof ’ on all files that import from ‘react-native’

How can I solve this?



“name”: “project”,

“version”: “1.0.0”,

“main”: “node_modules/expo/AppEntry.js”,

“scripts”: {

"start": "expo start",

"android": "expo start --android",

"ios": "expo start --ios",

"web": "expo start --web",

"eject": "expo eject",

"lint": "eslint .",

"lint:fix": "eslint --fix"


“dependencies”: {

"expo": "~44.0.0",

"expo-status-bar": "~1.2.0",

"react": "17.0.1",

"react-dom": "17.0.1",

"react-native": "0.64.3",

"react-native-web": "0.17.1"


“devDependencies”: {

"@babel/core": "^7.12.9",

"eslint": "^8.13.0",

"eslint-config-universe": "^11.0.0-beta.0",

"prettier": "^2.6.2"


“private”: true




module.exports = {

extends: ‘universe/native’,


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.