eslint-plugin-react-dom 1.20.0-next.7 → 1.20.0-next.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.d.mts +0 -10
- package/dist/index.d.ts +0 -10
- package/dist/index.js +2 -18
- package/dist/index.mjs +2 -18
- package/package.json +8 -8
package/dist/index.d.mts
CHANGED
|
@@ -19,16 +19,6 @@ declare const _default: {
|
|
|
19
19
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
20
20
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
21
21
|
};
|
|
22
|
-
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
23
|
-
readonly additionalComponents: [{
|
|
24
|
-
readonly name: "Link";
|
|
25
|
-
readonly as: "a";
|
|
26
|
-
readonly attributes: [{
|
|
27
|
-
readonly name: "to";
|
|
28
|
-
readonly as: "href";
|
|
29
|
-
}];
|
|
30
|
-
}];
|
|
31
|
-
};
|
|
32
22
|
};
|
|
33
23
|
|
|
34
24
|
export { _default as default };
|
package/dist/index.d.ts
CHANGED
|
@@ -19,16 +19,6 @@ declare const _default: {
|
|
|
19
19
|
readonly "no-unsafe-iframe-sandbox": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeIframeSandbox", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
20
20
|
readonly "no-unsafe-target-blank": _typescript_eslint_utils_ts_eslint.RuleModule<"noUnsafeTargetBlank", [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener>;
|
|
21
21
|
};
|
|
22
|
-
readonly DEFAULT_ESLINT_REACT_SETTINGS: {
|
|
23
|
-
readonly additionalComponents: [{
|
|
24
|
-
readonly name: "Link";
|
|
25
|
-
readonly as: "a";
|
|
26
|
-
readonly attributes: [{
|
|
27
|
-
readonly name: "to";
|
|
28
|
-
readonly as: "href";
|
|
29
|
-
}];
|
|
30
|
-
}];
|
|
31
|
-
};
|
|
32
22
|
};
|
|
33
23
|
|
|
34
24
|
export { _default as default };
|
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ var AST__namespace = /*#__PURE__*/_interopNamespace(AST);
|
|
|
32
32
|
|
|
33
33
|
// package.json
|
|
34
34
|
var name = "eslint-plugin-react-dom";
|
|
35
|
-
var version = "1.20.0-next.
|
|
35
|
+
var version = "1.20.0-next.9";
|
|
36
36
|
var createRule = shared.createRuleForPlugin("dom");
|
|
37
37
|
function findAttrInCustomAttributes(name2, attributes) {
|
|
38
38
|
return tools.F.pipe(
|
|
@@ -1637,20 +1637,6 @@ var no_unsafe_target_blank_default = createRule({
|
|
|
1637
1637
|
});
|
|
1638
1638
|
|
|
1639
1639
|
// src/index.ts
|
|
1640
|
-
var DEFAULT_ESLINT_REACT_SETTINGS = {
|
|
1641
|
-
additionalComponents: [
|
|
1642
|
-
{
|
|
1643
|
-
name: "Link",
|
|
1644
|
-
as: "a",
|
|
1645
|
-
attributes: [
|
|
1646
|
-
{
|
|
1647
|
-
name: "to",
|
|
1648
|
-
as: "href"
|
|
1649
|
-
}
|
|
1650
|
-
]
|
|
1651
|
-
}
|
|
1652
|
-
]
|
|
1653
|
-
};
|
|
1654
1640
|
var src_default = {
|
|
1655
1641
|
meta: {
|
|
1656
1642
|
name,
|
|
@@ -1669,9 +1655,7 @@ var src_default = {
|
|
|
1669
1655
|
"no-unknown-property": no_unknown_property_default,
|
|
1670
1656
|
"no-unsafe-iframe-sandbox": no_unsafe_iframe_sandbox_default,
|
|
1671
1657
|
"no-unsafe-target-blank": no_unsafe_target_blank_default
|
|
1672
|
-
}
|
|
1673
|
-
// eslint-disable-next-line perfectionist/sort-objects
|
|
1674
|
-
DEFAULT_ESLINT_REACT_SETTINGS
|
|
1658
|
+
}
|
|
1675
1659
|
};
|
|
1676
1660
|
|
|
1677
1661
|
module.exports = src_default;
|
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { match, P } from 'ts-pattern';
|
|
|
9
9
|
|
|
10
10
|
// package.json
|
|
11
11
|
var name = "eslint-plugin-react-dom";
|
|
12
|
-
var version = "1.20.0-next.
|
|
12
|
+
var version = "1.20.0-next.9";
|
|
13
13
|
var createRule = createRuleForPlugin("dom");
|
|
14
14
|
function findAttrInCustomAttributes(name2, attributes) {
|
|
15
15
|
return F.pipe(
|
|
@@ -1614,20 +1614,6 @@ var no_unsafe_target_blank_default = createRule({
|
|
|
1614
1614
|
});
|
|
1615
1615
|
|
|
1616
1616
|
// src/index.ts
|
|
1617
|
-
var DEFAULT_ESLINT_REACT_SETTINGS = {
|
|
1618
|
-
additionalComponents: [
|
|
1619
|
-
{
|
|
1620
|
-
name: "Link",
|
|
1621
|
-
as: "a",
|
|
1622
|
-
attributes: [
|
|
1623
|
-
{
|
|
1624
|
-
name: "to",
|
|
1625
|
-
as: "href"
|
|
1626
|
-
}
|
|
1627
|
-
]
|
|
1628
|
-
}
|
|
1629
|
-
]
|
|
1630
|
-
};
|
|
1631
1617
|
var src_default = {
|
|
1632
1618
|
meta: {
|
|
1633
1619
|
name,
|
|
@@ -1646,9 +1632,7 @@ var src_default = {
|
|
|
1646
1632
|
"no-unknown-property": no_unknown_property_default,
|
|
1647
1633
|
"no-unsafe-iframe-sandbox": no_unsafe_iframe_sandbox_default,
|
|
1648
1634
|
"no-unsafe-target-blank": no_unsafe_target_blank_default
|
|
1649
|
-
}
|
|
1650
|
-
// eslint-disable-next-line perfectionist/sort-objects
|
|
1651
|
-
DEFAULT_ESLINT_REACT_SETTINGS
|
|
1635
|
+
}
|
|
1652
1636
|
};
|
|
1653
1637
|
|
|
1654
1638
|
export { src_default as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-dom",
|
|
3
|
-
"version": "1.20.0-next.
|
|
3
|
+
"version": "1.20.0-next.9",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for React DOM related rules.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -48,13 +48,13 @@
|
|
|
48
48
|
"@typescript-eslint/utils": "^8.18.0",
|
|
49
49
|
"compare-versions": "^6.1.1",
|
|
50
50
|
"ts-pattern": "^5.5.0",
|
|
51
|
-
"@eslint-react/
|
|
52
|
-
"@eslint-react/
|
|
53
|
-
"@eslint-react/
|
|
54
|
-
"@eslint-react/tools": "1.20.0-next.
|
|
55
|
-
"@eslint-react/
|
|
56
|
-
"@eslint-react/
|
|
57
|
-
"@eslint-react/
|
|
51
|
+
"@eslint-react/jsx": "1.20.0-next.9",
|
|
52
|
+
"@eslint-react/shared": "1.20.0-next.9",
|
|
53
|
+
"@eslint-react/core": "1.20.0-next.9",
|
|
54
|
+
"@eslint-react/tools": "1.20.0-next.9",
|
|
55
|
+
"@eslint-react/types": "1.20.0-next.9",
|
|
56
|
+
"@eslint-react/var": "1.20.0-next.9",
|
|
57
|
+
"@eslint-react/ast": "1.20.0-next.9"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/react": "^19.0.1",
|