eslint-plugin-goodeffects

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-goodeffects

Weekly Downloads

16

Version

1.0.2

License

MIT

Unpacked Size

11 kB

Total Files

11

Last publish

Collaborators

  • pansah321