@untile/eslint-config-typescript-react-native
Untile-flavored ESLint react-native config. Extends `@untile/eslint-config-typescript-react`.
Installation
With npm
:
npm install eslint @untile/eslint-config-typescript-react-native --save-dev
Or using yarn
:
yarn add eslint @untile/eslint-config-typescript-react-native -D
Setup
Create an .eslintrc.js
file with the following:
extends: ['@untile/eslint-config-typescript-react-native']
Usage
Add the following script
to your package.json
:
{
"scripts": {
"lint": "eslint ."
}
}
and run the linter with:
yarn lint