Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-plugin-goodeffects

PeterKwesiAnsah2.3kMIT1.0.2

An ESLint Plugin dedicated to enhancing code quality by enforcing best practices when utilizing the useEffect hook in React applications.

eslint, eslintplugin, eslint-plugin, useEffect, patterns, code quality, best practices

readme

eslint-plugin-goodeffects

npm version License

An ESLint Plugin dedicated to enhancing code quality by enforcing best practices when utilizing the useEffect hook in React applications.

Installation

Install the package via npm:

npm install --save-dev eslint-plugin-goodeffects

Usage

//...your eslint configuration
{
    "plugins": ["goodeffects"],
    "rules": {
        "goodeffects/enforceNamedEffectCallbacks": "error"
    }
}

Rules

  1. enforce-named-effect-callbacks

Contributing to eslint-plugin-goodeffects

Thank you for considering contributing to eslint-plugin-goodeffects!🚀