Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"presets": [
"react-native"
],
"plugins": [
[
"module-resolver",
{
"cwd": "babelrc",
"root": [
"./src"
],
"extensions": [
".js",
".ios.js",
".android.js"
]
}
]
]
}
# config ESLint https://gist.github.com/raivieiraadriano92/2b3cd36bc4553801fa956cc896e6beb2
# run
$ yarn add --dev babel-plugin-module-resolver eslint-import-resolver-babel-module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment