eslint-config-o2team

0.1.7 • Public • Published

eslint-config-o2team Build Status

ESLint Shareable Config for the O2Team Javascript Style Guide

Installation

$ npm install --save-dev eslint eslint-config-o2team

Usage

eslint-config-o2team

Once the eslint-config-o2team package is installed, you can use it by specifying o2team in the extends section of your ESLint configuration.

{
  "extends": "o2team",
  "rules": {
    // Additional, per-project rules...
  }
}

Or you can specifying eslint-config-o2team in the eslintConfig section of your package.json

{
  "eslintConfig": {
    "extends": "eslint-config-o2team"
  }
}

eslint-config-o2team/legacy

Maybe some legacy projects use ES5 and below.

{
  "extends": "o2team/legacy",
  "rules": {
    // Additional, per-project rules...
  }
}

License

Package Sidebar

Install

npm i eslint-config-o2team

Weekly Downloads

11

Version

0.1.7

License

MIT

Unpacked Size

29.5 kB

Total Files

16

Last publish

Collaborators

  • kopptho