0.2.0 • Published 6 years ago

@ucudal/eslint-config v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

@ucudal/eslint-config

This package provides UCUDAL's base JavaScript .eslintrc as an extensible shared config.

Usage

  1. Install the correct versions of each peer dependency, which are listed by the command:
npm info "@ucudal/eslint-config@latest" peerDependencies

Linux/OSX users can run:

(
  export PKG=@ucudal/eslint-config;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)

Which produces and runs a command like:

  npm install --save-dev @ucudal/eslint-config@latest eslint@^#.#.#

Windows users can install the @ucudal/eslint-config and all its peer dependencies manually.

  1. Add "extends": "@ucudal" to your .eslintrc file.