@mutualmobile/eslint-config-dribe

ESlint rules for use in Dribe React apps.

Stats

StarsIssuesVersionUpdatedCreatedSize
@mutualmobile/eslint-config-dribe
1.7.02 years ago3 years agoMinified + gzip package size for @mutualmobile/eslint-config-dribe in KB

Readme

eslint-config-dribe

A shareable ESLint configuration used in Dribe's React web portals.

Assumptions

Installation

First install these ESLint plugins:

npm i -D eslint-plugin-babel eslint-plugin-react eslint-plugin-promise

OR

yarn add eslint-plugin-babel eslint-plugin-react eslint-plugin-promise --dev

Then to install this package:

npm i -D @mutualmobile/eslint-config-dribe

OR

yarn add @mutualmobile/eslint-config-dribe --dev

Usage

Add these lines to your .eslintrc.json in your root directory.

{
  "extends": "@mutualmobile/eslint-config-dribe",
  "plugins": ["babel", "react", "promise"]
}

Add these lines to your .eslintrc.json in your testing directory.

{
  "extends": [
    "../.eslintrc.json",
    "@mutualmobile/eslint-config-dribe/rules/test-rules"
  ]
}

Contributing

See CONTRIBUTING.md


Happy linting!

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.