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