2.2.1 • Published 8 years ago
eslint-config-urbanladder v2.2.1
ESLint Config Urban Ladder
This package provides Urbanladder's .eslintrc as an extensible shared config.
Installing
1. Install the package
yarn add eslint-config-urbanladder2. Install peer dependencies
OSX / Linux users can simply run (replace npm with yarn if that's what you use)
(
export PKG=eslint-config-urbanladder;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs yarn add --dev "$PKG@latest"
)Windows users will need to manually install peer dependencies stated in this project's package.json
Usage
To use the JavaScript style config, add this to your .eslintrc file:
{
"extends": "urbanladder"
}You can override settings from the shareable config by adding them directly into your
.eslintrc file.