eslint-plugin-react-jsx 5.6.0-next.2 → 5.6.0

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.
Files changed (2) hide show
  1. package/dist/index.js +9 -9
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { DEFAULT_ESLINT_REACT_SETTINGS } from "@eslint-react/shared";
2
+ import { ESLintUtils } from "@typescript-eslint/utils";
2
3
  import { merge } from "@eslint-react/eslint";
3
4
  import { JsxEmit, findAttribute, getChildren, getElementFullType, getJsxConfig, hasAnyAttribute, hasChildren, isFragmentElement, isHostElement, isWhitespaceText } from "@eslint-react/jsx";
4
5
  import { AST_NODE_TYPES } from "@typescript-eslint/types";
5
- import { ESLintUtils } from "@typescript-eslint/utils";
6
6
  import { Check, isOneOf } from "@eslint-react/ast";
7
7
 
8
8
  //#region \0rolldown/runtime.js
@@ -24,7 +24,14 @@ var __exportAll = (all, no_symbols) => {
24
24
  //#endregion
25
25
  //#region package.json
26
26
  var name$2 = "eslint-plugin-react-jsx";
27
- var version = "5.6.0-next.2";
27
+ var version = "5.6.0";
28
+
29
+ //#endregion
30
+ //#region src/utils/create-rule.ts
31
+ function getDocsUrl(ruleName) {
32
+ return `https://eslint-react.xyz/docs/rules/${ruleName}`;
33
+ }
34
+ const createRule = ESLintUtils.RuleCreator(getDocsUrl);
28
35
 
29
36
  //#endregion
30
37
  //#region src/rules/no-children-prop-with-children/lib.ts
@@ -55,13 +62,6 @@ function getChildrenContentRange(node) {
55
62
  return [first.range[0], last.range[1]];
56
63
  }
57
64
 
58
- //#endregion
59
- //#region src/utils/create-rule.ts
60
- function getDocsUrl(ruleName) {
61
- return `https://eslint-react.xyz/docs/rules/${ruleName}`;
62
- }
63
- const createRule = ESLintUtils.RuleCreator(getDocsUrl);
64
-
65
65
  //#endregion
66
66
  //#region src/rules/no-children-prop-with-children/no-children-prop-with-children.ts
67
67
  const RULE_NAME$7 = "no-children-prop-with-children";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-jsx",
3
- "version": "5.6.0-next.2",
3
+ "version": "5.6.0",
4
4
  "description": "ESLint React's ESLint plugin for React Flavored JSX rules.",
5
5
  "keywords": [
6
6
  "react",
@@ -39,10 +39,10 @@
39
39
  "dependencies": {
40
40
  "@typescript-eslint/types": "^8.59.1",
41
41
  "@typescript-eslint/utils": "^8.59.1",
42
- "@eslint-react/ast": "5.6.0-next.2",
43
- "@eslint-react/eslint": "5.6.0-next.2",
44
- "@eslint-react/jsx": "5.6.0-next.2",
45
- "@eslint-react/shared": "5.6.0-next.2"
42
+ "@eslint-react/jsx": "5.6.0",
43
+ "@eslint-react/ast": "5.6.0",
44
+ "@eslint-react/shared": "5.6.0",
45
+ "@eslint-react/eslint": "5.6.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/react": "^19.2.14",