@nqminds/eslint-config-react

1.1.0 • Public • Published

nquiringminds eslint config react

This config provides a minimum set of linting rules that react nqminds code should conform to.

Please see @nqminds/eslint-config for linting rules designed for all Javascript code, or just Node.JS code.

Installation

npm i --save-dev @nqminds/eslint-config-react

Peer dependencies

If you do not already have the following as dev dependencies you will be prompted to install them when you run npm i:

npm i --save-dev eslint eslint-plugin-react eslint-plugin-babel eslint-plugin-promise eslint-plugin-mocha

Usage

In the root of your project add an .eslintrc.js with the following content:

module.exports = {
  extends: "@nqminds/eslint-config-react"
};

If your code is running both client-side code, and server-side code, you can combine both @nqminds/eslint-config and ``@nqminds/eslint-config-react`:

module.exports = {
  extends: ["@nqminds/eslint-config", "@nqminds/eslint-config-react"]
};

Package Sidebar

Install

npm i @nqminds/eslint-config-react

Weekly Downloads

1

Version

1.1.0

License

UNLICENSED

Unpacked Size

5.96 kB

Total Files

7

Last publish

Collaborators

  • jr7g19
  • ionut_nqm
  • nqminds-bot
  • nqminds-org
  • mereacre
  • antmcc
  • toby.ealden
  • aloisklink
  • cbrafter
  • ashleysetter