1.1.0 • Published 5 years ago

@abdullahceylan/eslint-config-react-native v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

@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
      },
    };