My ESLint and TypeScript configuration for React Native.
# you also need eslint if not installed already: yarn add eslint --dev
yarn add eslint-config-react-native-wcandillon --dev
In .eslintrc
:
{
"extends": "react-native-wcandillon",
}
In tsconfig.json
(if you want to use my base TS configuration):
{
"extends": "eslint-config-react-native-wcandillon/tsconfig.base"
}