eslint-plugin-react-hooks-extra 1.5.13-next.3 → 1.5.13-next.5

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 CHANGED
@@ -1,7 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  var core = require('@eslint-react/core');
4
- require('string-ts');
5
4
  var shared = require('@eslint-react/shared');
6
5
  var ast = require('@eslint-react/ast');
7
6
  var _var = require('@eslint-react/var');
@@ -15,7 +14,7 @@ var __export = (target, all2) => {
15
14
 
16
15
  // package.json
17
16
  var name = "eslint-plugin-react-hooks-extra";
18
- var version = "1.5.13-next.3";
17
+ var version = "1.5.13-next.5";
19
18
  var createRule = shared.createRuleForPlugin("hooks-extra");
20
19
 
21
20
  // src/rules/ensure-custom-hooks-using-other-hooks.ts
@@ -28,7 +27,7 @@ var ensure_custom_hooks_using_other_hooks_default = createRule({
28
27
  requiresTypeChecking: false
29
28
  },
30
29
  messages: {
31
- ENSURE_CUSTOM_HOOKS_USING_OTHER_HOOKS: "A custom hook {{name}} should use other hooks"
30
+ ENSURE_CUSTOM_HOOKS_USING_OTHER_HOOKS: "A custom hook '{{name}}' should use other hooks"
32
31
  },
33
32
  schema: []
34
33
  },
package/dist/index.mjs CHANGED
@@ -1,5 +1,4 @@
1
1
  import { useHookCollector, isReactHookCall, isUseCallbackCall, isReactHookCallWithNameLoose, isUseMemoCall, isUseStateCall } from '@eslint-react/core';
2
- import 'string-ts';
3
2
  import { createRuleForPlugin, ESLintSettingsSchema } from '@eslint-react/shared';
4
3
  import { NodeType, is, getNestedCallExpressions } from '@eslint-react/ast';
5
4
  import { findVariable, getVariableInit } from '@eslint-react/var';
@@ -13,7 +12,7 @@ var __export = (target, all2) => {
13
12
 
14
13
  // package.json
15
14
  var name = "eslint-plugin-react-hooks-extra";
16
- var version = "1.5.13-next.3";
15
+ var version = "1.5.13-next.5";
17
16
  var createRule = createRuleForPlugin("hooks-extra");
18
17
 
19
18
  // src/rules/ensure-custom-hooks-using-other-hooks.ts
@@ -26,7 +25,7 @@ var ensure_custom_hooks_using_other_hooks_default = createRule({
26
25
  requiresTypeChecking: false
27
26
  },
28
27
  messages: {
29
- ENSURE_CUSTOM_HOOKS_USING_OTHER_HOOKS: "A custom hook {{name}} should use other hooks"
28
+ ENSURE_CUSTOM_HOOKS_USING_OTHER_HOOKS: "A custom hook '{{name}}' should use other hooks"
30
29
  },
31
30
  schema: []
32
31
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-hooks-extra",
3
- "version": "1.5.13-next.3",
3
+ "version": "1.5.13-next.5",
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": {
@@ -42,16 +42,18 @@
42
42
  "@typescript-eslint/utils": "^7.10.0",
43
43
  "string-ts": "2.1.1",
44
44
  "valibot": "0.31.0-rc.1",
45
- "@eslint-react/ast": "1.5.13-next.3",
46
- "@eslint-react/core": "1.5.13-next.3",
47
- "@eslint-react/jsx": "1.5.13-next.3",
48
- "@eslint-react/shared": "1.5.13-next.3",
49
- "@eslint-react/tools": "1.5.13-next.3",
50
- "@eslint-react/types": "1.5.13-next.3",
51
- "@eslint-react/var": "1.5.13-next.3"
45
+ "@eslint-react/ast": "1.5.13-next.5",
46
+ "@eslint-react/shared": "1.5.13-next.5",
47
+ "@eslint-react/jsx": "1.5.13-next.5",
48
+ "@eslint-react/tools": "1.5.13-next.5",
49
+ "@eslint-react/types": "1.5.13-next.5",
50
+ "@eslint-react/var": "1.5.13-next.5",
51
+ "@eslint-react/core": "1.5.13-next.5"
52
52
  },
53
53
  "devDependencies": {
54
- "effect": "3.2.5"
54
+ "dedent": "1.5.3",
55
+ "effect": "3.2.5",
56
+ "tsup": "8.0.2"
55
57
  },
56
58
  "peerDependencies": {
57
59
  "@typescript-eslint/parser": "^7.5.0",