@eslint-react/core 1.38.0 → 1.38.1-beta.1

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
@@ -149,7 +149,7 @@ declare function isRenderMethodLike(node: TSESTree.Node): node is AST.TSESTreeMe
149
149
  declare function isFunctionOfRenderMethod(node: AST.TSESTreeFunction): boolean;
150
150
  /**
151
151
  * Check whether given node is declared inside class component's render block
152
- * ```jsx
152
+ * ```tsx
153
153
  * class Component extends React.Component {
154
154
  * render() {
155
155
  * class NestedClassComponent extends React.Component {
@@ -185,7 +185,7 @@ declare const isInversePhase: {
185
185
 
186
186
  /**
187
187
  * Unsafe check whether given node is a render function
188
- * ```jsx
188
+ * ```tsx
189
189
  * const renderRow = () => <div />
190
190
  * ` ^^^^^^^^^^^^`
191
191
  * _ = <Component renderRow={() => <div />} />
@@ -198,7 +198,7 @@ declare const isInversePhase: {
198
198
  declare function isRenderFunctionLoose(context: RuleContext, node: AST.TSESTreeFunction): boolean;
199
199
  /**
200
200
  * Unsafe check whether given JSXAttribute is a render prop
201
- * ```jsx
201
+ * ```tsx
202
202
  * _ = <Component renderRow={() => <div />} />
203
203
  * ` ^^^^^^^^^^^^^^^^^^^^^^^^^ `
204
204
  * ```
@@ -209,7 +209,7 @@ declare function isRenderFunctionLoose(context: RuleContext, node: AST.TSESTreeF
209
209
  declare function isRenderPropLoose(context: RuleContext, node: TSESTree.JSXAttribute): boolean;
210
210
  /**
211
211
  * Unsafe check whether given node is declared directly inside a render property
212
- * ```jsx
212
+ * ```tsx
213
213
  * const rows = { render: () => <div /> }
214
214
  * ` ^^^^^^^^^^^^^ `
215
215
  * _ = <Component rows={ [{ render: () => <div /> }] } />
@@ -222,7 +222,7 @@ declare function isRenderPropLoose(context: RuleContext, node: TSESTree.JSXAttri
222
222
  declare function isDirectValueOfRenderPropertyLoose(node: TSESTree.Node): boolean;
223
223
  /**
224
224
  * Unsafe check whether given node is declared inside a render prop
225
- * ```jsx
225
+ * ```tsx
226
226
  * _ = <Component renderRow={"node"} />
227
227
  * ` ^^^^^^ `
228
228
  * _ = <Component rows={ [{ render: "node" }] } />
package/dist/index.d.ts CHANGED
@@ -149,7 +149,7 @@ declare function isRenderMethodLike(node: TSESTree.Node): node is AST.TSESTreeMe
149
149
  declare function isFunctionOfRenderMethod(node: AST.TSESTreeFunction): boolean;
150
150
  /**
151
151
  * Check whether given node is declared inside class component's render block
152
- * ```jsx
152
+ * ```tsx
153
153
  * class Component extends React.Component {
154
154
  * render() {
155
155
  * class NestedClassComponent extends React.Component {
@@ -185,7 +185,7 @@ declare const isInversePhase: {
185
185
 
186
186
  /**
187
187
  * Unsafe check whether given node is a render function
188
- * ```jsx
188
+ * ```tsx
189
189
  * const renderRow = () => <div />
190
190
  * ` ^^^^^^^^^^^^`
191
191
  * _ = <Component renderRow={() => <div />} />
@@ -198,7 +198,7 @@ declare const isInversePhase: {
198
198
  declare function isRenderFunctionLoose(context: RuleContext, node: AST.TSESTreeFunction): boolean;
199
199
  /**
200
200
  * Unsafe check whether given JSXAttribute is a render prop
201
- * ```jsx
201
+ * ```tsx
202
202
  * _ = <Component renderRow={() => <div />} />
203
203
  * ` ^^^^^^^^^^^^^^^^^^^^^^^^^ `
204
204
  * ```
@@ -209,7 +209,7 @@ declare function isRenderFunctionLoose(context: RuleContext, node: AST.TSESTreeF
209
209
  declare function isRenderPropLoose(context: RuleContext, node: TSESTree.JSXAttribute): boolean;
210
210
  /**
211
211
  * Unsafe check whether given node is declared directly inside a render property
212
- * ```jsx
212
+ * ```tsx
213
213
  * const rows = { render: () => <div /> }
214
214
  * ` ^^^^^^^^^^^^^ `
215
215
  * _ = <Component rows={ [{ render: () => <div /> }] } />
@@ -222,7 +222,7 @@ declare function isRenderPropLoose(context: RuleContext, node: TSESTree.JSXAttri
222
222
  declare function isDirectValueOfRenderPropertyLoose(node: TSESTree.Node): boolean;
223
223
  /**
224
224
  * Unsafe check whether given node is declared inside a render prop
225
- * ```jsx
225
+ * ```tsx
226
226
  * _ = <Component renderRow={"node"} />
227
227
  * ` ^^^^^^ `
228
228
  * _ = <Component rows={ [{ render: "node" }] } />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/core",
3
- "version": "1.38.0",
3
+ "version": "1.38.1-beta.1",
4
4
  "description": "ESLint React's ESLint utility module for static analysis of React core APIs and patterns.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -41,12 +41,12 @@
41
41
  "@typescript-eslint/utils": "^8.28.0",
42
42
  "birecord": "^0.1.1",
43
43
  "ts-pattern": "^5.6.2",
44
- "@eslint-react/eff": "1.38.0",
45
- "@eslint-react/ast": "1.38.0",
46
- "@eslint-react/jsx": "1.38.0",
47
- "@eslint-react/var": "1.38.0",
48
- "@eslint-react/kit": "1.38.0",
49
- "@eslint-react/shared": "1.38.0"
44
+ "@eslint-react/ast": "1.38.1-beta.1",
45
+ "@eslint-react/eff": "1.38.1-beta.1",
46
+ "@eslint-react/jsx": "1.38.1-beta.1",
47
+ "@eslint-react/kit": "1.38.1-beta.1",
48
+ "@eslint-react/var": "1.38.1-beta.1",
49
+ "@eslint-react/shared": "1.38.1-beta.1"
50
50
  },
51
51
  "devDependencies": {
52
52
  "tsup": "^8.4.0",