2.0.15 • Published 8 months ago

@bothrs/eslint-config-react v2.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Bothrs: ESLint configuration for React

A very opinionated ESLint configuration for React used at Bothrs.

Usage

Install the package as a devDependency.

# NPM
npm i @bothrs/eslint-config-react -D

# Yarn
yarn add @bothrs/eslint-config-react -D

Add the package to the extends-section of your eslint configuration.

Example .eslintrc.js file:

// .eslintrc.js

module.exports = {
  type: "module",
  env: {
    es6: true,
    node: true,
  },
  extends: [
    '@bothrs/eslint-config-react',
  ],
}

Plugins