Skip to content

Instantly share code, notes, and snippets.

@bpesquet
Created January 31, 2019 00:12
Show Gist options
  • Save bpesquet/b8307abc334f37e41055d309ddd22947 to your computer and use it in GitHub Desktop.
Save bpesquet/b8307abc334f37e41055d309ddd22947 to your computer and use it in GitHub Desktop.
ESLint configuration file for Expo SDK 32+
{
"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