@abdullahceylan/eslint-config-react-native

ESLint React Native Configuration.

Usage no npm install needed!

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

README

@abdullahceylan/eslint-config-react-native

ESLint React Native configurations that I've used.

Install

npm install --save-dev @abdullahceylan/eslint-config-react-native

or

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

Usage

  • Create .eslintrc.js folder into root directory
  • Paste following:
    module.exports = {
      parser: 'babel-eslint',
      extends: [
        '@abdullahceylan/eslint-config', // optional
        '@abdullahceylan/eslint-config-react-native',
      ],
      env: {
        es6: true,
      },
      rules: {
        // your own rules
      },
    };