1.7.0 • Published 6 years ago

@mutualmobile/eslint-config-dribe v1.7.0

Weekly downloads
16
License
ISC
Repository
bitbucket
Last release
6 years ago

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!

1.7.0

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.0

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago