0.1.7 • Published 6 years ago
eslint-config-o2team v0.1.7
eslint-config-o2team 
ESLint Shareable Config for the O2Team Javascript Style Guide
Installation
$ npm install --save-dev eslint eslint-config-o2teamUsage
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...
}
}