This package provides Urbanladder's .eslintrc
as an extensible shared config.
yarn add eslint-config-urbanladder
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
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.