1.0.2 • Published 5 months ago

eslint-plugin-goodeffects v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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!🚀