@moxy/eslint-config-react

MOXY's ESLint configuration enhancer for projects that use React

Usage no npm install needed!

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

README

eslint-config-react

NPM version Downloads Dependency status Dev Dependency status

MOXY's ESLint configuration enhancer for projects that use React.

Installation

$ npm install --save-dev eslint @moxy/eslint-config-react

Usage

Create a .eslintrc.json file in the project root and extend @moxy/eslint-config-react.

This package should be used in conjunction with @moxy/eslint-config-base.

Example

{
    "root": true,
    "env": {
        "browser": true
    },
    "extends": [
        "@moxy/eslint-config-base/esm",
        "@moxy/eslint-config-react"
    ]
}