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.
npm install --save-dev eslint @odopod/eslint-config
In your ESLint configuration (probably an .eslintrc
file), add:
{
"extends": "@odopod"
}
Install linter-eslint
. To fix files automatically, bring up the command palette (⬆ + ⌘ + p) and choose Linter Eslint: Fix File
.
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.
For other integrations, see ESLint's list.