@ajsr/eslint-config-react

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

Usage no npm install needed!

<script type="module">
  import ajsrEslintConfigReact from 'https://cdn.skypack.dev/@ajsr/eslint-config-react';
</script>

README

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.