@politico/eslint-config-interactives
Script fashion at POLITICO Interactive News.
Extends Airbnb style, but with a few exceptions.
Quickstart
- Install the package:
$ yarn add -D @politico/eslint-config-interactives eslint
- Create a
eslintrc.json
in the root of your project:
{
"root": true,
"extends": "@politico/eslint-config-interactives"
}
In your editor
Interactive News developers should use a plugin in their editor to fix errors on save. For example, if you're using atom, use linter-eslint.