Skip to content

ESLint Shareable Config for the O2Team Javascript Style Guide

License

Notifications You must be signed in to change notification settings

o2team/eslint-config-o2team

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...
  }
}

About

ESLint Shareable Config for the O2Team Javascript Style Guide

Resources

License

Stars

Watchers

Forks

Packages

No packages published