@politico/eslint-config-interactives

Script fashion at POLITICO Interactive News

Usage no npm install needed!

<script type="module">
  import politicoEslintConfigInteractives from 'https://cdn.skypack.dev/@politico/eslint-config-interactives';
</script>

README

@politico/eslint-config-interactives

Script fashion at POLITICO Interactive News.

Extends Airbnb style, but with a few exceptions.

Quickstart

  1. Install the package:
$ yarn add -D @politico/eslint-config-interactives eslint
  1. 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.