@scotia/eslint-config-scotiabank-react
v2.0.1
Published
ESLint configuration for Scotiabank with React support
Downloads
11
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"
}