@bpsmart/eslint-config-react

BPSmart's default ESLint configuration for React

Usage no npm install needed!

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

README

eslint-config-react

build

An ESLint Shareable Config

Installation

npm i --save-dev @bpsmart/eslint-config-react @bpsmart/eslint-config-base eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-standard

Usage

Create or edit your .eslintrc.json file to this:

{
  "extends": ["@bpsmart/react"]
}