1.0.0 • Published 4 years ago

@ajsr/eslint-config-react v1.0.0

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

eslint-config-react

ESLint, Prettier and Airbnb style guide in React JS projects.

Quick start

1 Install

Use yarn or npm to install dependencies:

yarn add @ajsr/eslint-config-react --dev
npm i @ajsr/eslint-config-react --save-dev

2 Configure ESLint

In a new file .eslintrc.json set this ESLint configuration:

{
    "extends": [
        "@ajsr/eslint-config-react"
    ]
}

Create a new file .eslintignore and include this content:

build
dist
node_modules
lol

3 Needed VSCode extensions

Interesting stuff to read

License

MIT licensed.