1.0.9 • Published 8 months ago

@yanotec/eslint-config-react-native v1.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Yanotec ESLint config for React-Native apps

Whats included?

  • Airbnb config base;
  • Prettier;

Setup

  1. Install the dependencies
  npm i -D eslint @yanotec/eslint-config-react-native
  1. Create a .eslintrc.json file extending the config:

for ts project

{
  "extends": "@yanotec/eslint-config-react-native/ts-recommended"
}

or js project

{
  "extends": "@yanotec/eslint-config-react-native/js-recommended"
}

You can also use a .eslintrc.js instead of JSON if you prefer.