@mutualmobile/eslint-config-dribe

1.7.0 • Public • Published

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!

Readme

Keywords

Package Sidebar

Install

npm i @mutualmobile/eslint-config-dribe

Weekly Downloads

0

Version

1.7.0

License

ISC

Unpacked Size

5.73 kB

Total Files

9

Last publish

Collaborators

  • rahulranjanmm
  • prajnab_mm
  • mutual-mobile