eslint-config-mop

MOP's ESLint config, following our styleguide

Usage no npm install needed!

<script type="module">
  import eslintConfigMop from 'https://cdn.skypack.dev/eslint-config-mop';
</script>

README

eslint-config-mop

This package provides MOP's .eslintrc as an extensible shared config.

Usage

We export one ESLint configurations for your usage.

eslint-config-mop

Our default export contains all of our ESLint rules, including EcmaScript 6+ and React. It requires eslint and eslint-plugin-react.

  1. npm install --save-dev eslint-config-mop eslint-plugin-react eslint
  2. add "extends": "mop" to your .eslintrc