Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/odopod/eslint-config-odopod

Odopod's ESLint shareable config
https://github.com/odopod/eslint-config-odopod

eslint eslint-config style-guide

Last synced: 9 days ago
JSON representation

Odopod's ESLint shareable config

Awesome Lists containing this project

README

        

# eslint-config-odopod [![Build Status](https://travis-ci.org/odopod/eslint-config-odopod.svg?branch=master)](https://travis-ci.org/odopod/eslint-config-odopod)

> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) by [odopod](http://www.odopod.com)

This config extends Airbnb's `eslint-config-airbnb-base` with a few overrides. We mostly follow their [JavaScript Style Guide](https://github.com/airbnb/javascript/).

## Install

```bash
npm install --save-dev eslint @odopod/eslint-config
```

## Usage

In your ESLint configuration (probably an `.eslintrc` file), add:

```json
{
"extends": "@odopod"
}
```

## Editor Integrations

### Atom

Install [`linter-eslint`](https://atom.io/packages/linter-eslint). To fix files automatically, bring up the command palette ( + + p) and choose `Linter Eslint: Fix File`.

### Sublime Text 3

Install [`SublimeLinter-eslint`](https://github.com/roadhump/SublimeLinter-eslint) and [`ESLint-Formatter`](https://github.com/TheSavior/ESLint-Formatter). To fix files automatically, use the shortcut + + h, or choose `ESLint Formatter: Format this file` from the command palette.

### Others

For other integrations, see ESLint's [list](http://eslint.org/docs/user-guide/integrations).