Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 2 months 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 (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-10T17:33:07.000Z (over 2 years ago)
- Last Synced: 2024-04-24T19:33:43.517Z (8 months ago)
- Language: JavaScript
- Homepage:
- Size: 494 KB
- Stars: 7
- Watchers: 7
- Forks: 3
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-o2team [![Build Status](https://travis-ci.org/o2team/eslint-config-o2team.svg?branch=master)](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)