Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/odopod/eslint-config-odopod
- Owner: odopod
- License: mit
- Created: 2017-02-28T18:47:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-28T22:50:47.000Z (over 7 years ago)
- Last Synced: 2024-12-17T08:44:12.719Z (23 days ago)
- Topics: eslint, eslint-config, style-guide
- Language: JavaScript
- Size: 46.9 KB
- Stars: 0
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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).