@yanotec/eslint-config-reactjs

1.0.9 • Public • Published

Yanotec ESLint config for ReactJS apps

Whats included?

  • Airbnb config base;
  • Prettier;

Setup

  1. Install the dependencies
  npm i -D eslint @yanotec/eslint-config-reactjs
  1. Create a .eslintrc.json file extending the config:

for ts project

{
  "extends": "@yanotec/eslint-config-reactjs/ts-recommended"
}

or js project

{
  "extends": "@yanotec/eslint-config-reactjs/js-recommended"
}

You can also use a .eslintrc.js instead of JSON if you prefer.

Package Sidebar

Install

npm i @yanotec/eslint-config-reactjs

Weekly Downloads

1

Version

1.0.9

License

MIT

Unpacked Size

8.69 kB

Total Files

5

Last publish

Collaborators

  • jonathanccalixto