1.3.0 • Published 5 years ago
eslint-config-react-native-gerardketuma v1.3.0
ESLINT-CONFIG-REACT-NATIVE-GERARDKETUMA
This is my eslint configuration for React Native. I use this across all my React Native projects.
INSTALLATION
yarn add eslint prettier typescript eslint-config-react-native-gerardketuma --devNote: I'm using yarn to install deps. Feel free to change commands to use npm 3+ and npx if you like
USAGE
Add to your eslint config (.eslintrc, or eslintConfig field in package.json):
{
"extends": "react-native-gerardketuma"
}Since this project lints TypeScript projects, you must have a tsconfig.json file in your root directory.