react-native-eslint-config

ESLint config for React Native

Usage no npm install needed!

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

README

eslint-config-react-native-community

Installation

yarn add --dev eslint @react-native-community/eslint-config

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, or eslintConfig field in package.json):

{
    "extends": "@react-native-community"
}