UEA-PRODEM
This commit is contained in:
-2
@@ -74,7 +74,6 @@ export default [
|
||||
// React Compiler rules
|
||||
'react-hooks/config': 'error',
|
||||
'react-hooks/error-boundaries': 'error',
|
||||
'react-hooks/component-hook-factories': 'error',
|
||||
'react-hooks/gating': 'error',
|
||||
'react-hooks/globals': 'error',
|
||||
'react-hooks/immutability': 'error',
|
||||
@@ -108,7 +107,6 @@ export default [
|
||||
// React Compiler rules
|
||||
"react-hooks/config": "error",
|
||||
"react-hooks/error-boundaries": "error",
|
||||
"react-hooks/component-hook-factories": "error",
|
||||
"react-hooks/gating": "error",
|
||||
"react-hooks/globals": "error",
|
||||
"react-hooks/immutability": "error",
|
||||
|
||||
+3
@@ -13,6 +13,7 @@ declare const plugin: {
|
||||
version: string;
|
||||
};
|
||||
rules: {
|
||||
'component-hook-factories': Rule.RuleModule;
|
||||
'exhaustive-deps': {
|
||||
meta: {
|
||||
type: "suggestion";
|
||||
@@ -76,6 +77,8 @@ declare const plugin: {
|
||||
'CallExpression:exit'(node: estree.CallExpression & Rule.NodeParentExtension): void;
|
||||
FunctionDeclaration(node: estree.FunctionDeclaration & Rule.NodeParentExtension): void;
|
||||
ArrowFunctionExpression(node: estree.ArrowFunctionExpression & Rule.NodeParentExtension): void;
|
||||
ComponentDeclaration(node: any): void;
|
||||
HookDeclaration(node: any): void;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Generated
Vendored
+4377
-7220
File diff suppressed because it is too large
Load Diff
Generated
Vendored
+4377
-7220
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "eslint-plugin-react-hooks",
|
||||
"description": "ESLint rules for React Hooks",
|
||||
"version": "7.0.1",
|
||||
"version": "7.1.1",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebook/react.git",
|
||||
@@ -36,7 +36,7 @@
|
||||
},
|
||||
"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 || ^9.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 || ^10.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.24.4",
|
||||
|
||||
Reference in New Issue
Block a user