@instea/eslint-config-react

1.2.0 • Public • Published

@instea/eslint-plugin-react

Default ESLint rules for React projects.

Installation

yarn add --dev prettier eslint

yarn add --dev @instea/eslint-config-react

Usage

Extend from this plugin in eslint configuration:

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

Create .prettierrc file with this content:

{
  "semi": true,
  "singleQuote": true,
  "printWidth": 80,
  "trailingComma": "es5",
  "arrowParens": "avoid"
}

Run eslint using yarn:

yarn eslint . --max-warnings 0

Readme

Keywords

none

Package Sidebar

Install

npm i @instea/eslint-config-react

Weekly Downloads

21

Version

1.2.0

License

ISC

Unpacked Size

3.65 kB

Total Files

4

Last publish

Collaborators

  • madox2
  • instea-admin
  • sodik82