Created
January 31, 2019 00:12
-
-
Save bpesquet/b8307abc334f37e41055d309ddd22947 to your computer and use it in GitHub Desktop.
ESLint configuration file for Expo SDK 32+
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
{ | |
"extends": ["airbnb", "prettier", "prettier/react"], | |
"parser": "babel-eslint", | |
"env": { | |
"react-native/react-native": true | |
}, | |
"plugins": ["react", "react-native"], | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, | |
"rules": { | |
"react/jsx-filename-extension": [ | |
"error", | |
{ "extensions": [".js", ".jsx"] } | |
], | |
"react/prop-types": 0, | |
"react-native/no-unused-styles": 2, | |
"react-native/split-platform-components": 2, | |
"react-native/no-inline-styles": 2, | |
"react-native/no-color-literals": 2 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment