@mobilabsolutions/eslint-config-react

1.1.17-alpha.3 • Public • Published

Mobilab eslint-config-react

Installation

When using an npm 5+

npx install-peerdeps --dev @mobilabsolutions/eslint-config-react

If using npm < 5

OSX/Linux

To install this package and all its peer dependencies run:

(
  export PKG=@mobilabsolutions/eslint-config-react;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)

Windows

npm install -g install-peerdeps
install-peerdeps --dev @mobilabsolutions/eslint-config-react

Usage

Include the @mobilabsolutions/eslint-config-react to the "extends" array in your .eslintrc.* file.\

Overrides

You can easily override specific this settings eslint-plugin-react.
See http://eslint.org/docs/developer-guide/shareable-configs for more information.

Example

{
  "rules": {
    "react/jsx-uses-react": "error",
    "react/jsx-uses-vars": "error"
  }
}

Contributing

See how to contribute Contributors Guide

License

MIT License

Package Sidebar

Install

npm i @mobilabsolutions/eslint-config-react

Weekly Downloads

2

Version

1.1.17-alpha.3

License

MIT

Unpacked Size

36.9 kB

Total Files

8

Last publish

Collaborators

  • johnnyghost
  • mobilab