@mobilabsolutions/eslint-config-react

eslint react configuration for Mobilab Solutions projects

Stats

StarsIssuesVersionUpdatedCreatedSize
@mobilabsolutions/eslint-config-react
1.1.17-alpha.06 months ago3 years agoMinified + gzip package size for @mobilabsolutions/eslint-config-react in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.