eslint-plugin-react-hooks-extra 1.5.9-next.2 → 1.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +21 -21
- package/dist/index.mjs +21 -21
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ var __export = (target, all2) => {
|
|
|
15
15
|
|
|
16
16
|
// package.json
|
|
17
17
|
var name = "eslint-plugin-react-hooks-extra";
|
|
18
|
-
var version = "1.5.9
|
|
18
|
+
var version = "1.5.9";
|
|
19
19
|
var createRule = shared.createRuleForPlugin("hooks-extra");
|
|
20
20
|
|
|
21
21
|
// src/rules/ensure-custom-hooks-using-other-hooks.ts
|
|
@@ -28,7 +28,7 @@ var ensure_custom_hooks_using_other_hooks_default = createRule({
|
|
|
28
28
|
requiresTypeChecking: false
|
|
29
29
|
},
|
|
30
30
|
messages: {
|
|
31
|
-
ENSURE_CUSTOM_HOOKS_USING_OTHER_HOOKS: "
|
|
31
|
+
ENSURE_CUSTOM_HOOKS_USING_OTHER_HOOKS: "A custom hook {{name}} should use other hooks"
|
|
32
32
|
},
|
|
33
33
|
schema: []
|
|
34
34
|
},
|
|
@@ -56,7 +56,7 @@ var ensure_custom_hooks_using_other_hooks_default = createRule({
|
|
|
56
56
|
defaultOptions: []
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
59
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Function.js
|
|
60
60
|
var Function_exports = {};
|
|
61
61
|
__export(Function_exports, {
|
|
62
62
|
SK: () => SK,
|
|
@@ -231,14 +231,14 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
|
|
|
231
231
|
var hole = /* @__PURE__ */ unsafeCoerce(absurd);
|
|
232
232
|
var SK = (_2, b2) => b2;
|
|
233
233
|
|
|
234
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
234
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Equivalence.js
|
|
235
235
|
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
236
236
|
|
|
237
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
238
|
-
var moduleVersion = "3.0.
|
|
237
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/internal/version.js
|
|
238
|
+
var moduleVersion = "3.0.3";
|
|
239
239
|
var getCurrentVersion = () => moduleVersion;
|
|
240
240
|
|
|
241
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
241
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/GlobalValue.js
|
|
242
242
|
var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
|
|
243
243
|
if (!(globalStoreId in globalThis)) {
|
|
244
244
|
globalThis[globalStoreId] = /* @__PURE__ */ new Map();
|
|
@@ -251,14 +251,14 @@ var globalValue = (id, compute) => {
|
|
|
251
251
|
return globalStore.get(id);
|
|
252
252
|
};
|
|
253
253
|
|
|
254
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
254
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Predicate.js
|
|
255
255
|
var isFunction2 = isFunction;
|
|
256
256
|
var isRecordOrArray = (input) => typeof input === "object" && input !== null;
|
|
257
257
|
var isObject = (input) => isRecordOrArray(input) || isFunction2(input);
|
|
258
258
|
var hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObject(self) && property in self);
|
|
259
259
|
var isNullable = (input) => input === null || input === void 0;
|
|
260
260
|
|
|
261
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
261
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Utils.js
|
|
262
262
|
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
|
|
263
263
|
var GenKindImpl = class {
|
|
264
264
|
value;
|
|
@@ -478,7 +478,7 @@ function add64(out, aHi, aLo, bHi, bLo) {
|
|
|
478
478
|
out[1] = lo;
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
481
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Hash.js
|
|
482
482
|
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
|
|
483
483
|
var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
|
|
484
484
|
var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
@@ -564,7 +564,7 @@ var cached = function() {
|
|
|
564
564
|
return hash2;
|
|
565
565
|
};
|
|
566
566
|
|
|
567
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
567
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Equal.js
|
|
568
568
|
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
569
569
|
function equals() {
|
|
570
570
|
if (arguments.length === 1) {
|
|
@@ -590,7 +590,7 @@ function compareBoth(self, that) {
|
|
|
590
590
|
var isEqual = (u2) => hasProperty(u2, symbol2);
|
|
591
591
|
var equivalence = () => equals;
|
|
592
592
|
|
|
593
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
593
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Inspectable.js
|
|
594
594
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
595
595
|
var toJSON = (x2) => {
|
|
596
596
|
if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
|
|
@@ -602,7 +602,7 @@ var toJSON = (x2) => {
|
|
|
602
602
|
};
|
|
603
603
|
var format = (x2) => JSON.stringify(x2, null, 2);
|
|
604
604
|
|
|
605
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
605
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Pipeable.js
|
|
606
606
|
var pipeArguments = (self, args) => {
|
|
607
607
|
switch (args.length) {
|
|
608
608
|
case 1:
|
|
@@ -633,7 +633,7 @@ var pipeArguments = (self, args) => {
|
|
|
633
633
|
}
|
|
634
634
|
};
|
|
635
635
|
|
|
636
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
636
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/internal/effectable.js
|
|
637
637
|
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
|
|
638
638
|
var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
|
|
639
639
|
var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
|
|
@@ -691,7 +691,7 @@ var EffectPrototype = {
|
|
|
691
691
|
}
|
|
692
692
|
};
|
|
693
693
|
|
|
694
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
694
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/internal/option.js
|
|
695
695
|
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
696
696
|
var CommonProto = {
|
|
697
697
|
...EffectPrototype,
|
|
@@ -749,7 +749,7 @@ var some = (value) => {
|
|
|
749
749
|
return a;
|
|
750
750
|
};
|
|
751
751
|
|
|
752
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
752
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/internal/either.js
|
|
753
753
|
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
|
|
754
754
|
var CommonProto2 = {
|
|
755
755
|
...EffectPrototype,
|
|
@@ -813,7 +813,7 @@ var right = (right2) => {
|
|
|
813
813
|
var getLeft = (self) => isRight(self) ? none : some(self.left);
|
|
814
814
|
var getRight = (self) => isLeft(self) ? none : some(self.right);
|
|
815
815
|
|
|
816
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
816
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Option.js
|
|
817
817
|
var Option_exports = {};
|
|
818
818
|
__export(Option_exports, {
|
|
819
819
|
Do: () => Do,
|
|
@@ -875,10 +875,10 @@ __export(Option_exports, {
|
|
|
875
875
|
zipWith: () => zipWith
|
|
876
876
|
});
|
|
877
877
|
|
|
878
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
878
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Order.js
|
|
879
879
|
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
|
|
880
880
|
|
|
881
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
881
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Option.js
|
|
882
882
|
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
883
883
|
var none2 = () => none;
|
|
884
884
|
var some2 = some;
|
|
@@ -1229,7 +1229,7 @@ var ensure_use_callback_has_non_empty_deps_default = createRule({
|
|
|
1229
1229
|
requiresTypeChecking: false
|
|
1230
1230
|
},
|
|
1231
1231
|
messages: {
|
|
1232
|
-
ENSURE_USE_CALLBACK_HAS_NON_EMPTY_DEPS: "useCallback should have a non-empty dependencies array"
|
|
1232
|
+
ENSURE_USE_CALLBACK_HAS_NON_EMPTY_DEPS: "An useCallback should have a non-empty dependencies array"
|
|
1233
1233
|
},
|
|
1234
1234
|
schema: []
|
|
1235
1235
|
},
|
|
@@ -1282,7 +1282,7 @@ var ensure_use_memo_has_non_empty_deps_default = createRule({
|
|
|
1282
1282
|
requiresTypeChecking: false
|
|
1283
1283
|
},
|
|
1284
1284
|
messages: {
|
|
1285
|
-
ENSURE_USE_MEMO_HAS_NON_EMPTY_DEPS: "useMemo should have a non-empty dependencies array"
|
|
1285
|
+
ENSURE_USE_MEMO_HAS_NON_EMPTY_DEPS: "An useMemo should have a non-empty dependencies array"
|
|
1286
1286
|
},
|
|
1287
1287
|
schema: []
|
|
1288
1288
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ var __export = (target, all2) => {
|
|
|
13
13
|
|
|
14
14
|
// package.json
|
|
15
15
|
var name = "eslint-plugin-react-hooks-extra";
|
|
16
|
-
var version = "1.5.9
|
|
16
|
+
var version = "1.5.9";
|
|
17
17
|
var createRule = createRuleForPlugin("hooks-extra");
|
|
18
18
|
|
|
19
19
|
// src/rules/ensure-custom-hooks-using-other-hooks.ts
|
|
@@ -26,7 +26,7 @@ var ensure_custom_hooks_using_other_hooks_default = createRule({
|
|
|
26
26
|
requiresTypeChecking: false
|
|
27
27
|
},
|
|
28
28
|
messages: {
|
|
29
|
-
ENSURE_CUSTOM_HOOKS_USING_OTHER_HOOKS: "
|
|
29
|
+
ENSURE_CUSTOM_HOOKS_USING_OTHER_HOOKS: "A custom hook {{name}} should use other hooks"
|
|
30
30
|
},
|
|
31
31
|
schema: []
|
|
32
32
|
},
|
|
@@ -54,7 +54,7 @@ var ensure_custom_hooks_using_other_hooks_default = createRule({
|
|
|
54
54
|
defaultOptions: []
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
57
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Function.js
|
|
58
58
|
var Function_exports = {};
|
|
59
59
|
__export(Function_exports, {
|
|
60
60
|
SK: () => SK,
|
|
@@ -229,14 +229,14 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
|
|
|
229
229
|
var hole = /* @__PURE__ */ unsafeCoerce(absurd);
|
|
230
230
|
var SK = (_2, b2) => b2;
|
|
231
231
|
|
|
232
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
232
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Equivalence.js
|
|
233
233
|
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
234
234
|
|
|
235
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
236
|
-
var moduleVersion = "3.0.
|
|
235
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/internal/version.js
|
|
236
|
+
var moduleVersion = "3.0.3";
|
|
237
237
|
var getCurrentVersion = () => moduleVersion;
|
|
238
238
|
|
|
239
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
239
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/GlobalValue.js
|
|
240
240
|
var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
|
|
241
241
|
if (!(globalStoreId in globalThis)) {
|
|
242
242
|
globalThis[globalStoreId] = /* @__PURE__ */ new Map();
|
|
@@ -249,14 +249,14 @@ var globalValue = (id, compute) => {
|
|
|
249
249
|
return globalStore.get(id);
|
|
250
250
|
};
|
|
251
251
|
|
|
252
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
252
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Predicate.js
|
|
253
253
|
var isFunction2 = isFunction;
|
|
254
254
|
var isRecordOrArray = (input) => typeof input === "object" && input !== null;
|
|
255
255
|
var isObject = (input) => isRecordOrArray(input) || isFunction2(input);
|
|
256
256
|
var hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObject(self) && property in self);
|
|
257
257
|
var isNullable = (input) => input === null || input === void 0;
|
|
258
258
|
|
|
259
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
259
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Utils.js
|
|
260
260
|
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
|
|
261
261
|
var GenKindImpl = class {
|
|
262
262
|
value;
|
|
@@ -476,7 +476,7 @@ function add64(out, aHi, aLo, bHi, bLo) {
|
|
|
476
476
|
out[1] = lo;
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
479
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Hash.js
|
|
480
480
|
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
|
|
481
481
|
var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
|
|
482
482
|
var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
@@ -562,7 +562,7 @@ var cached = function() {
|
|
|
562
562
|
return hash2;
|
|
563
563
|
};
|
|
564
564
|
|
|
565
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
565
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Equal.js
|
|
566
566
|
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
567
567
|
function equals() {
|
|
568
568
|
if (arguments.length === 1) {
|
|
@@ -588,7 +588,7 @@ function compareBoth(self, that) {
|
|
|
588
588
|
var isEqual = (u2) => hasProperty(u2, symbol2);
|
|
589
589
|
var equivalence = () => equals;
|
|
590
590
|
|
|
591
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
591
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Inspectable.js
|
|
592
592
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
593
593
|
var toJSON = (x2) => {
|
|
594
594
|
if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
|
|
@@ -600,7 +600,7 @@ var toJSON = (x2) => {
|
|
|
600
600
|
};
|
|
601
601
|
var format = (x2) => JSON.stringify(x2, null, 2);
|
|
602
602
|
|
|
603
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
603
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Pipeable.js
|
|
604
604
|
var pipeArguments = (self, args) => {
|
|
605
605
|
switch (args.length) {
|
|
606
606
|
case 1:
|
|
@@ -631,7 +631,7 @@ var pipeArguments = (self, args) => {
|
|
|
631
631
|
}
|
|
632
632
|
};
|
|
633
633
|
|
|
634
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
634
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/internal/effectable.js
|
|
635
635
|
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
|
|
636
636
|
var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
|
|
637
637
|
var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
|
|
@@ -689,7 +689,7 @@ var EffectPrototype = {
|
|
|
689
689
|
}
|
|
690
690
|
};
|
|
691
691
|
|
|
692
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
692
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/internal/option.js
|
|
693
693
|
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
694
694
|
var CommonProto = {
|
|
695
695
|
...EffectPrototype,
|
|
@@ -747,7 +747,7 @@ var some = (value) => {
|
|
|
747
747
|
return a;
|
|
748
748
|
};
|
|
749
749
|
|
|
750
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
750
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/internal/either.js
|
|
751
751
|
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
|
|
752
752
|
var CommonProto2 = {
|
|
753
753
|
...EffectPrototype,
|
|
@@ -811,7 +811,7 @@ var right = (right2) => {
|
|
|
811
811
|
var getLeft = (self) => isRight(self) ? none : some(self.left);
|
|
812
812
|
var getRight = (self) => isLeft(self) ? none : some(self.right);
|
|
813
813
|
|
|
814
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
814
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Option.js
|
|
815
815
|
var Option_exports = {};
|
|
816
816
|
__export(Option_exports, {
|
|
817
817
|
Do: () => Do,
|
|
@@ -873,10 +873,10 @@ __export(Option_exports, {
|
|
|
873
873
|
zipWith: () => zipWith
|
|
874
874
|
});
|
|
875
875
|
|
|
876
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
876
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Order.js
|
|
877
877
|
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
|
|
878
878
|
|
|
879
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
879
|
+
// ../../../node_modules/.pnpm/effect@3.0.3/node_modules/effect/dist/esm/Option.js
|
|
880
880
|
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
881
881
|
var none2 = () => none;
|
|
882
882
|
var some2 = some;
|
|
@@ -1227,7 +1227,7 @@ var ensure_use_callback_has_non_empty_deps_default = createRule({
|
|
|
1227
1227
|
requiresTypeChecking: false
|
|
1228
1228
|
},
|
|
1229
1229
|
messages: {
|
|
1230
|
-
ENSURE_USE_CALLBACK_HAS_NON_EMPTY_DEPS: "useCallback should have a non-empty dependencies array"
|
|
1230
|
+
ENSURE_USE_CALLBACK_HAS_NON_EMPTY_DEPS: "An useCallback should have a non-empty dependencies array"
|
|
1231
1231
|
},
|
|
1232
1232
|
schema: []
|
|
1233
1233
|
},
|
|
@@ -1280,7 +1280,7 @@ var ensure_use_memo_has_non_empty_deps_default = createRule({
|
|
|
1280
1280
|
requiresTypeChecking: false
|
|
1281
1281
|
},
|
|
1282
1282
|
messages: {
|
|
1283
|
-
ENSURE_USE_MEMO_HAS_NON_EMPTY_DEPS: "useMemo should have a non-empty dependencies array"
|
|
1283
|
+
ENSURE_USE_MEMO_HAS_NON_EMPTY_DEPS: "An useMemo should have a non-empty dependencies array"
|
|
1284
1284
|
},
|
|
1285
1285
|
schema: []
|
|
1286
1286
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-hooks-extra",
|
|
3
|
-
"version": "1.5.9
|
|
3
|
+
"version": "1.5.9",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for React Hooks related rules.",
|
|
5
5
|
"homepage": "https://github.com/rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
"@typescript-eslint/types": "7.7.0",
|
|
42
42
|
"@typescript-eslint/utils": "7.7.0",
|
|
43
43
|
"string-ts": "2.1.0",
|
|
44
|
-
"@eslint-react/ast": "1.5.9
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"@eslint-react/
|
|
47
|
-
"@eslint-react/
|
|
48
|
-
"@eslint-react/
|
|
49
|
-
"@eslint-react/
|
|
50
|
-
"@eslint-react/
|
|
44
|
+
"@eslint-react/ast": "1.5.9",
|
|
45
|
+
"@eslint-react/jsx": "1.5.9",
|
|
46
|
+
"@eslint-react/shared": "1.5.9",
|
|
47
|
+
"@eslint-react/tools": "1.5.9",
|
|
48
|
+
"@eslint-react/core": "1.5.9",
|
|
49
|
+
"@eslint-react/types": "1.5.9",
|
|
50
|
+
"@eslint-react/var": "1.5.9"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"effect": "3.0.
|
|
53
|
+
"effect": "3.0.3"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@typescript-eslint/parser": ">=7.5.0",
|