@scotia/eslint-config-scotiabank-react

2.0.1 • Public • Published

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"
}

/@scotia/eslint-config-scotiabank-react/

    Package Sidebar

    Install

    npm i @scotia/eslint-config-scotiabank-react

    Weekly Downloads

    8

    Version

    2.0.1

    License

    MPL-2.0

    Unpacked Size

    5.22 kB

    Total Files

    7

    Last publish

    Collaborators

    • aali
    • mdclements
    • randysingh
    • reyre
    • tshen8