@odopod/eslint-config
v2.0.0
Published
Odopod's eslint config
Downloads
17
Readme
eslint-config-odopod
ESLint shareable config by odopod
This config extends Airbnb's eslint-config-airbnb-base
with a few overrides. We mostly follow their JavaScript Style Guide.
Install
npm install --save-dev eslint @odopod/eslint-config
Usage
In your ESLint configuration (probably an .eslintrc
file), add:
{
"extends": "@odopod"
}
Editor Integrations
Atom
Install linter-eslint
. To fix files automatically, bring up the command palette (⬆ + ⌘ + p) and choose Linter Eslint: Fix File
.
Sublime Text 3
Install SublimeLinter-eslint
and 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.