Skip to content

eslint-config 2.0.1

Install from the command line:
Learn more about npm packages
$ npm install @telus/eslint-config@2.0.1
Install via package.json:
"@telus/eslint-config": "2.0.1"

About this version

ESLint Config

version Build Status

TELUS Flavour ESLint config.
We inherit from the excellent Airbnb ESLint config and introduce some more strict requirements.

Usage

1. add to .eslintrc

{
  "extends": "@telus/eslint-config"
}

2. install

npm install eslint @telus/eslint-config
npx install-group peer --package @telus/eslint-config --no-save

3. run!

cli
npx eslint .
git hooks
echo -e '#!/bin/bash\nnpx eslint .' > .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit
editors

editors with built-in eslint features, (e.g. Visual Studio Code) usually depend on globally installed packages


Github: @telus • Twitter: @telusdigital

Details


Assets

  • eslint-config-2.0.1-npm.tgz

Download activity

  • Total downloads 35,411
  • Last 30 days 1,943
  • Last week 878
  • Today 151