ESLint Config
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 globally
npm install -g eslint @telus/eslint-config
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