npm.io
2.2.1 • Published 8 years ago

eslint-config-urbanladder

Licence
MIT
Version
2.2.1
Deps
0
Size
43 kB
Vulns
0
Weekly
0
Stars
3

ESLint Config Urban Ladder

Travis npm (scoped) npm

This package provides Urbanladder's .eslintrc as an extensible shared config.

Installing

1. Install the package

yarn add eslint-config-urbanladder
2. 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.

Uses