eslint-config-itp-base

1.1.0 • Public • Published

Eslint config itp base

NPM version MIT License

In The Pocket's base JavaScript ESLint config, based on Airbnb's config.

Installation

Install the correct versions of each package, which are listed by the command:

npm info "eslint-config-itp-base@latest" peerDependencies

Linux/OSX users can simply run

(
export PKG=eslint-config-itp-base;
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 eslint-config-itp-base eslint@^#.#.# eslint-plugin-import@^#.#.#

Usage

Add the following to your .eslintrc file in the project root

{
  "extends": "itp-base"
}

Run eslint

eslint .

License

Eslint-Config-Itp-Base is freely distributable under the terms of the MIT license.

Package Sidebar

Install

npm i eslint-config-itp-base

Weekly Downloads

4

Version

1.1.0

License

MIT

Last publish

Collaborators

  • moutpessemier
  • stijnv
  • robrechtme
  • klukies
  • eliaslecomte
  • gertjanreynaert
  • itpit
  • thibmaek
  • brecht
  • jonasdegeest
  • kevinmeyvaert
  • glenn.bostoen
  • tmons