Instantly share code, notes, and snippets.

Embed
What would you like to do?
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