eslint-config-plutotv-client

1.2.0 • Public • Published

eslint-config-plutotv-client

This package provides PlutoTV's .eslintrc as an extensible shared config for client javascript applications.

Usage

Our default export contains all Airbnb's rules (ES6) plus our changes.

  1. Install the correct versions of each package, which are listed by the command:
  npm info "eslint-config-plutotv-client@latest" peerDependencies

Linux/OSX users can simply run

(
  export PKG=eslint-config-plutotv-client;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
  1. Add "extends": "plutotv-client" to your .eslintrc

Editors

Configuring eslint on your editor should be easy.

Atom

  1. Install packages linter and linter-eslint
  2. Change linter-eslint package settings to use your global eslint. Under settings mark as true "Use Global Eslint" and change your "Global Node Path" with the value $ npm config get prefix gives you.

Sublime Text

  1. Install packages SublimeLinter and SublimeLinter-contrib-eslint

VIM

TODO.

Package Sidebar

Install

npm i eslint-config-plutotv-client

Weekly Downloads

1

Version

1.2.0

License

ISC

Last publish

Collaborators

  • rafakato