Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GoProperly/eslint-config-properly-react

Repository files navigation

Properly React ESLint Config

An ESLint configuration for use by React web applications.

Built on top of eslint-config-properly-base (which is in turn based on eslint-config-airbnb-base).

Includes:

For a list of the rules/configuration in use, see index.js.

Installation

See https://github.com/GoProperly/template-web-app/pull/61/files for an example. Basically:

  1. Make sure your project is configured to use the GitHub Package Registry

  2. Install this package along with eslint and prettier:

    npm install --save-dev @goproperly/eslint-config-properly-react eslint prettier

  3. Extend this config in your project's ESLint configuration:

    {
      "extends": ["@goproperly/eslint-config-properly-react"]
    }