Issue with eslint-config-universe v.2.0.0 and typescript module

Hi, im using eslint-config-universe from a while and today i update to series 2.x and im getting this wired error:

Error: Failed to load plugin '@typescript-eslint' declared in '.eslintrc.js » eslint-config-universe/native » ./shared/typescript.js': Cannot find module 'typescript'

I follow steps from here:

but probably something wrong, here my files:

package.json

{
 ...
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^2.3.3",
    "@typescript-eslint/parser": "^2.3.3",
    "babel-preset-expo": "^7.0.0",
    "eslint": "^6.5.1",
    "eslint-config-universe": "^2.0.0",
    "prettier": "^1.18.2",
    "react-native-debugger-open": "^0.3.22"
  }
}

.eslintrc.js

module.exports = {
  extends: 'universe/native',
};

.prettierrc

{
  "singleQuote": true,
  "semi": true,
  "tabWidth": 2,
  "useTabs": false,
  "bracketSpacing": true
}

Anyone else with this same problem?

Thanks !!!

1 Like

This post was flagged by the community and is temporarily hidden.