@gfez/eslint-config-react-native

ESLint config for React Native

Usage no npm install needed!

<script type="module">
  import gfezEslintConfigReactNative from 'https://cdn.skypack.dev/@gfez/eslint-config-react-native';
</script>

README

Installation

yarn add -D @gfez/eslint-config-react-native

Note: We're 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.js, or eslintConfig field in package.json):

module.exports = {
  root: true,
  extends: ['@gfez/react-native', 'plugin:prettier/recommended', 'prettier/react']
};