@airbnb-config/eslint-react

Eslint config based off airbnb's javascript and react style guide tweaked to work with prettier.

Usage no npm install needed!

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

README

Airbnb Eslint React Config

Eslint config based off airbnb's javascript and react style guide tweaked to work with prettier.

Implementation

To install run the following command:

npm install -D @airbnb-config/eslint-react

or with yarn run:

yarn add -D @airbnb-config/eslint-react

To extend configuration add the following to your package.json file:

  "eslintConfig": {
    "extends": "./node_modules/@airbnb-config/eslint-react"
  },

Prettier

To use with prettier, checkout the @airbnb-config/prettier package.