https://github.com/o2team/eslint-config-o2team
ESLint Shareable Config for the O2Team Javascript Style Guide
https://github.com/o2team/eslint-config-o2team
Last synced: about 1 year ago
JSON representation
ESLint Shareable Config for the O2Team Javascript Style Guide
- Host: GitHub
- URL: https://github.com/o2team/eslint-config-o2team
- Owner: o2team
- License: mit
- Created: 2017-03-22T03:15:08.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-04-10T17:33:07.000Z (over 4 years ago)
- Last Synced: 2025-04-11T02:44:20.236Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 494 KB
- Stars: 8
- Watchers: 6
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-o2team [](https://travis-ci.org/o2team/eslint-config-o2team)
> ESLint [Shareable Config](http://eslint.org/docs/developer-guide/shareable-configs.html) 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](http://eslint.org/docs/user-guide/configuring).
```js
{
"extends": "o2team",
"rules": {
// Additional, per-project rules...
}
}
```
Or you can specifying `eslint-config-o2team` in the `eslintConfig` section of your `package.json`
```json
{
"eslintConfig": {
"extends": "eslint-config-o2team"
}
}
```
### eslint-config-o2team/legacy
Maybe some legacy projects use `ES5` and below.
```js
{
"extends": "o2team/legacy",
"rules": {
// Additional, per-project rules...
}
}
```
## [License](LICENSE)