@linters/eslint-config-react

1.15.0 • Public • Published

Eslint Config React

eslint shareable config to help you identify and report on patterns found in your code in React applications.

Plugins

This configuration uses the following plugins:

  • @linters/eslint-config
  • eslint-plugin-react
  • eslint-plugin-react-hooks

Install

$ yarn add eslint @linters/eslint-config-react -D

Usage

The shareable config can be configured in the eslint configuration file:

Create a .eslintrc.js file with the following contents:

module.exports = {
  extends: ['@linters/eslint-config-react'],
}

/@linters/eslint-config-react/

    Package Sidebar

    Install

    npm i @linters/eslint-config-react

    Weekly Downloads

    149

    Version

    1.15.0

    License

    none

    Unpacked Size

    17.6 kB

    Total Files

    5

    Last publish

    Collaborators

    • michal.jarnot