2.0.1 • Published 6 years ago

@scotia/eslint-config-scotiabank-react v2.0.1

Weekly downloads
1
License
MPL-2.0
Repository
github
Last release
6 years ago

eslint-config-scotiabank-react

Provides an ESLint configuration for Scotiabank React projects.

The eslint-config-airbnb configuration is extended with additional Scotiabank-recommended rulesets.

Usage

Installation

To install:

yarn add -D @scotia/eslint-config-scotiabank-react@latest

This package relies on eslint, eslint-plugin-import, eslint-plugin-react, and eslint-plugin-jsx-a11y as peer dependencies.

Please ensure they are installed as well:

npm info @scotia/eslint-config-scotiabank-react@latest peerDependencies

Configuration

Update your .eslintrc to include:

{
  "extends": "@scotia/eslint-config-scotiabank-react"
}