Last active
June 1, 2018 11:55
-
-
Save codegino/91fdb1fc2d7c9e2c7420053c0292408a to your computer and use it in GitHub Desktop.
React native configs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"presets": [ | |
"babel-preset-react-native-stage-0/decorator-support", | |
"flow", | |
"react-native" | |
], | |
"env": { | |
"development": { | |
"plugins": [ | |
"transform-react-jsx-source" | |
] | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"plugins": [ | |
"react-native" | |
], | |
"env": { | |
"react-native/react-native": true, | |
"es6": true | |
}, | |
"parser": "babel-eslint", | |
"extends": "airbnb", | |
"rules": { | |
"linebreak-style": 0, | |
"react/jsx-filename-extension": [1, { | |
"extensions": [".js", ".jsx"] | |
}] | |
}, | |
"settings": { | |
"import/resolver": { | |
"node": { | |
"paths": ["src"] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment