@eslint-react/jsx 1.5.24-beta.4 → 1.5.24-beta.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.d.mts CHANGED
@@ -34,7 +34,7 @@ declare function getPropValue(attribute: TSESTree$1.JSXAttribute | TSESTree$1.JS
34
34
  /**
35
35
  * @param properties The properties to search in
36
36
  * @param context The rule context
37
- * @param initialScope
37
+ * @param initialScope The initial scope to start from
38
38
  * @param seenProps The properties that have already been seen
39
39
  * @returns A function that searches for a property in the given properties
40
40
  */
@@ -42,7 +42,7 @@ declare function findPropInProperties(properties: (TSESTree$1.Property | TSESTre
42
42
  /**
43
43
  * @param attributes The attributes to search in
44
44
  * @param context The rule context
45
- * @param initialScope
45
+ * @param initialScope The initial scope to start from
46
46
  * @returns A function that searches for a property in the given attributes
47
47
  */
48
48
  declare function findPropInAttributes(attributes: (TSESTree$1.JSXAttribute | TSESTree$1.JSXSpreadAttribute)[], context: RuleContext, initialScope: Scope): (propName: string) => Option.Option<NonNullable<TSESTree$1.JSXAttribute | TSESTree$1.JSXSpreadAttribute | undefined>>;
@@ -52,7 +52,7 @@ declare function findPropInAttributes(attributes: (TSESTree$1.JSXAttribute | TSE
52
52
  * @param attributes The attributes to search in
53
53
  * @param propName The prop name to search for
54
54
  * @param context The rule context
55
- * @param initialScope
55
+ * @param initialScope The initial scope to start from
56
56
  * @returns `true` if the given prop name is present in the given properties
57
57
  */
58
58
  declare function hasProp(attributes: (TSESTree.JSXAttribute | TSESTree.JSXSpreadAttribute)[], propName: string, context: RuleContext, initialScope: Scope): boolean;
@@ -61,7 +61,7 @@ declare function hasProp(attributes: (TSESTree.JSXAttribute | TSESTree.JSXSpread
61
61
  * @param attributes The attributes to search in
62
62
  * @param propNames The prop names to search for
63
63
  * @param context The rule context
64
- * @param initialScope
64
+ * @param initialScope The initial scope to start from
65
65
  * @returns `true` if any of the given prop names are present in the given attributes
66
66
  */
67
67
  declare function hasAnyProp(attributes: (TSESTree.JSXAttribute | TSESTree.JSXSpreadAttribute)[], propNames: string[], context: RuleContext, initialScope: Scope): boolean;
@@ -70,7 +70,7 @@ declare function hasAnyProp(attributes: (TSESTree.JSXAttribute | TSESTree.JSXSpr
70
70
  * @param attributes The attributes to search in
71
71
  * @param propNames The prop names to search for
72
72
  * @param context The rule context
73
- * @param initialScope
73
+ * @param initialScope The initial scope to start from
74
74
  * @returns `true` if all of the given prop names are present in the given attributes
75
75
  */
76
76
  declare function hasEveryProp(attributes: (TSESTree.JSXAttribute | TSESTree.JSXSpreadAttribute)[], propNames: string[], context: RuleContext, initialScope: Scope): boolean;
package/dist/index.d.ts CHANGED
@@ -34,7 +34,7 @@ declare function getPropValue(attribute: TSESTree$1.JSXAttribute | TSESTree$1.JS
34
34
  /**
35
35
  * @param properties The properties to search in
36
36
  * @param context The rule context
37
- * @param initialScope
37
+ * @param initialScope The initial scope to start from
38
38
  * @param seenProps The properties that have already been seen
39
39
  * @returns A function that searches for a property in the given properties
40
40
  */
@@ -42,7 +42,7 @@ declare function findPropInProperties(properties: (TSESTree$1.Property | TSESTre
42
42
  /**
43
43
  * @param attributes The attributes to search in
44
44
  * @param context The rule context
45
- * @param initialScope
45
+ * @param initialScope The initial scope to start from
46
46
  * @returns A function that searches for a property in the given attributes
47
47
  */
48
48
  declare function findPropInAttributes(attributes: (TSESTree$1.JSXAttribute | TSESTree$1.JSXSpreadAttribute)[], context: RuleContext, initialScope: Scope): (propName: string) => Option.Option<NonNullable<TSESTree$1.JSXAttribute | TSESTree$1.JSXSpreadAttribute | undefined>>;
@@ -52,7 +52,7 @@ declare function findPropInAttributes(attributes: (TSESTree$1.JSXAttribute | TSE
52
52
  * @param attributes The attributes to search in
53
53
  * @param propName The prop name to search for
54
54
  * @param context The rule context
55
- * @param initialScope
55
+ * @param initialScope The initial scope to start from
56
56
  * @returns `true` if the given prop name is present in the given properties
57
57
  */
58
58
  declare function hasProp(attributes: (TSESTree.JSXAttribute | TSESTree.JSXSpreadAttribute)[], propName: string, context: RuleContext, initialScope: Scope): boolean;
@@ -61,7 +61,7 @@ declare function hasProp(attributes: (TSESTree.JSXAttribute | TSESTree.JSXSpread
61
61
  * @param attributes The attributes to search in
62
62
  * @param propNames The prop names to search for
63
63
  * @param context The rule context
64
- * @param initialScope
64
+ * @param initialScope The initial scope to start from
65
65
  * @returns `true` if any of the given prop names are present in the given attributes
66
66
  */
67
67
  declare function hasAnyProp(attributes: (TSESTree.JSXAttribute | TSESTree.JSXSpreadAttribute)[], propNames: string[], context: RuleContext, initialScope: Scope): boolean;
@@ -70,7 +70,7 @@ declare function hasAnyProp(attributes: (TSESTree.JSXAttribute | TSESTree.JSXSpr
70
70
  * @param attributes The attributes to search in
71
71
  * @param propNames The prop names to search for
72
72
  * @param context The rule context
73
- * @param initialScope
73
+ * @param initialScope The initial scope to start from
74
74
  * @returns `true` if all of the given prop names are present in the given attributes
75
75
  */
76
76
  declare function hasEveryProp(attributes: (TSESTree.JSXAttribute | TSESTree.JSXSpreadAttribute)[], propNames: string[], context: RuleContext, initialScope: Scope): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/jsx",
3
- "version": "1.5.24-beta.4",
3
+ "version": "1.5.24-beta.5",
4
4
  "description": "ESLint React's TSESTree AST utility module for static analysis of JSX.",
5
5
  "homepage": "https://github.com/rel1cx/eslint-react",
6
6
  "bugs": {
@@ -38,10 +38,10 @@
38
38
  "@typescript-eslint/scope-manager": "^7.16.0",
39
39
  "@typescript-eslint/types": "^7.16.0",
40
40
  "@typescript-eslint/utils": "^7.16.0",
41
- "@eslint-react/ast": "1.5.24-beta.4",
42
- "@eslint-react/tools": "1.5.24-beta.4",
43
- "@eslint-react/var": "1.5.24-beta.4",
44
- "@eslint-react/types": "1.5.24-beta.4"
41
+ "@eslint-react/var": "1.5.24-beta.5",
42
+ "@eslint-react/types": "1.5.24-beta.5",
43
+ "@eslint-react/tools": "1.5.24-beta.5",
44
+ "@eslint-react/ast": "1.5.24-beta.5"
45
45
  },
46
46
  "devDependencies": {
47
47
  "effect": "3.4.8",