Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@scotia/eslint-config-scotiabank-react

scotiabank24MPL-2.02.0.1

ESLint configuration for Scotiabank with React support

eslint, javascript, scotiabank, react

readme

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

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.0.1 (2019-03-19)

Bug Fixes

  • rules: Enforce rules for empty lines and JSX prop splitting (4467689)

2.0.0 (2018-10-18)

Features

  • Upgrade es-lint to V5 for eslint-config-scotiabank-base and eslint-config-scotiabank-react. (84ae47e)

BREAKING CHANGES

1.3.0 (2017-12-07)

Note: Version bump only for package @scotia/eslint-config-scotiabank-react

1.2.0 (2017-11-28)

Features

  • Add 'to' attribute to anchor-is-valid rule (3f8a05e)

1.1.2 (2017-11-23)

Note: Version bump only for package @scotia/eslint-config-scotiabank-react

1.1.0 (2017-11-03)

Note: Version bump only for package @scotia/eslint-config-scotiabank-react

1.0.1 (2017-10-31)

Bug Fixes

  • eslint-config-scotiabank-react: add correct base dependency version (e63b9f8)