1.0.0 • Published 7 years ago

eslint-config-microlise-react v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

eslint-config-microlise-react

An ESLint Shareable Config for React/JSX support for all Microlise React projects

Install

npm install eslint-config-microlise-react

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

This Shareable Config extends the rules provided in eslint-config-standard-react.

Here's how to install everything you need:

npm install --save-dev eslint-config-standard eslint-config-standard-react eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node eslint-plugin-react eslint-config-microlise-react

Then, add this to your .eslintrc file:

{
  "extends": ["standard", "standard-react", "microlise-react"]
}

Note: The eslint-config- prefix is omitted since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.