eslint-plugin-react-hooks
Advanced tools
Comparing version 0.0.0-experimental-e1dd0a2f5-20221115 to 0.0.0-experimental-e210d081-20240909
@@ -6,5 +6,5 @@ 'use strict'; | ||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./cjs/eslint-plugin-react-hooks.production.min.js'); | ||
module.exports = require('./cjs/eslint-plugin-react-hooks.production.js'); | ||
} else { | ||
module.exports = require('./cjs/eslint-plugin-react-hooks.development.js'); | ||
} |
{ | ||
"name": "eslint-plugin-react-hooks", | ||
"description": "ESLint rules for React Hooks", | ||
"version": "0.0.0-experimental-e1dd0a2f5-20221115", | ||
"version": "0.0.0-experimental-e210d081-20240909", | ||
"repository": { | ||
@@ -29,12 +29,16 @@ "type": "git", | ||
}, | ||
"homepage": "https://reactjs.org/", | ||
"homepage": "https://react.dev/", | ||
"peerDependencies": { | ||
"eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0" | ||
"eslint": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/eslint-parser": "^7.11.4", | ||
"@typescript-eslint/parser-v2": "npm:@typescript-eslint/parser@^2.26.0", | ||
"@typescript-eslint/parser-v3": "npm:@typescript-eslint/parser@^3.10.0", | ||
"@typescript-eslint/parser-v4": "npm:@typescript-eslint/parser@^4.1.0", | ||
"@typescript-eslint/parser-v5": "npm:@typescript-eslint/parser@^5.0.0-0" | ||
"@typescript-eslint/parser-v5": "npm:@typescript-eslint/parser@^5.0.0-0", | ||
"babel-eslint": "^10.0.3", | ||
"eslint-v7": "npm:eslint@^7.7.0", | ||
"eslint-v9": "npm:eslint@^9.0.0" | ||
} | ||
} |
# `eslint-plugin-react-hooks` | ||
This ESLint plugin enforces the [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html). | ||
This ESLint plugin enforces the [Rules of Hooks](https://react.dev/reference/rules/rules-of-hooks). | ||
It is a part of the [Hooks API](https://reactjs.org/docs/hooks-intro.html) for React. | ||
It is a part of the [Hooks API](https://react.dev/reference/react/hooks) for React. | ||
@@ -71,3 +71,3 @@ ## Installation | ||
Please refer to the [Rules of Hooks](https://reactjs.org/docs/hooks-rules.html) documentation and the [Hooks FAQ](https://reactjs.org/docs/hooks-faq.html#what-exactly-do-the-lint-rules-enforce) to learn more about this rule. | ||
Please refer to the [Rules of Hooks](https://react.dev/reference/rules/rules-of-hooks) documentation to learn more about this rule. | ||
@@ -74,0 +74,0 @@ ## License |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
173451
4082
8