@panenco/eslint-config-react

ESlint configuration for @panenco projects

Usage no npm install needed!

<script type="module">
  import panencoEslintConfigReact from 'https://cdn.skypack.dev/@panenco/eslint-config-react';
</script>

README

@panenco/eslint-config-react

This package is made for reducing boilerplate in .eslintrc.json file and create single source of truth around all repositories.

Installation

Prerequisites

You must have an access to Panenco Github Package Registry.

Configure .npmrc

registry=https://registry.npmjs.org/
@panenco:registry=https://npm.pkg.github.com
always-auth=true
yarn add -DW eslint @panenco/eslint-config-react

Configuration

In your root .eslintrc.json just use

{
  "root": true,
  "extends": ["@panenco/eslint-config-react"]
}