-
-
Save maiquealmeida/5fd992d6c9c141755a7e14cd4e51bec5 to your computer and use it in GitHub Desktop.
React Native AirBnB ESLint Config
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
{ | |
"parser": "babel-eslint", | |
"plugins": [ | |
"react", | |
"react-native" | |
], | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true, | |
"modules": true | |
} | |
}, | |
"extends" : [ | |
"eslint:recommended", | |
"plugin:react/recommended", | |
"airbnb-base" | |
], | |
"rules" : { | |
"arrow-body-style" : 'warn' | |
} | |
} |
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
npm install --save-dev babel-eslint eslint-config-airbnb-base eslint-plugin-react eslint-plugin-react-native |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment