@eslint-react/shared 1.7.1-next.1 → 1.7.1-next.2
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 +1 -14
- package/dist/index.mjs +1 -14
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -193,8 +193,6 @@ var getDocsUrl = (pluginName) => (ruleName) => {
|
|
|
193
193
|
return `${WEBSITE_URL}/docs/rules/${pluginName}-${ruleName}`;
|
|
194
194
|
};
|
|
195
195
|
var createRuleForPlugin = (pluginName) => utils.ESLintUtils.RuleCreator(getDocsUrl(pluginName));
|
|
196
|
-
|
|
197
|
-
// ../../node_modules/.pnpm/valibot@0.36.0/node_modules/valibot/dist/index.js
|
|
198
196
|
var store;
|
|
199
197
|
function getGlobalConfig(config2) {
|
|
200
198
|
return {
|
|
@@ -873,23 +871,12 @@ var expandSettings = createMemoizedFunction((settings) => {
|
|
|
873
871
|
};
|
|
874
872
|
}, { isDeepEqual: false });
|
|
875
873
|
var DEFAULT_ESLINT_REACT_SETTINGS = {
|
|
876
|
-
additionalComponents: [
|
|
877
|
-
{
|
|
878
|
-
name: "Link",
|
|
879
|
-
as: "a",
|
|
880
|
-
attributes: [
|
|
881
|
-
{
|
|
882
|
-
name: "to",
|
|
883
|
-
as: "href"
|
|
884
|
-
}
|
|
885
|
-
]
|
|
886
|
-
}
|
|
887
|
-
],
|
|
888
874
|
additionalHooks: {
|
|
889
875
|
useLayoutEffect: [
|
|
890
876
|
"useIsomorphicLayoutEffect"
|
|
891
877
|
]
|
|
892
878
|
},
|
|
879
|
+
polymorphicPropName: "as",
|
|
893
880
|
version: "detect"
|
|
894
881
|
};
|
|
895
882
|
|
package/dist/index.mjs
CHANGED
|
@@ -187,8 +187,6 @@ var getDocsUrl = (pluginName) => (ruleName) => {
|
|
|
187
187
|
return `${WEBSITE_URL}/docs/rules/${pluginName}-${ruleName}`;
|
|
188
188
|
};
|
|
189
189
|
var createRuleForPlugin = (pluginName) => ESLintUtils.RuleCreator(getDocsUrl(pluginName));
|
|
190
|
-
|
|
191
|
-
// ../../node_modules/.pnpm/valibot@0.36.0/node_modules/valibot/dist/index.js
|
|
192
190
|
var store;
|
|
193
191
|
function getGlobalConfig(config2) {
|
|
194
192
|
return {
|
|
@@ -867,23 +865,12 @@ var expandSettings = createMemoizedFunction((settings) => {
|
|
|
867
865
|
};
|
|
868
866
|
}, { isDeepEqual: false });
|
|
869
867
|
var DEFAULT_ESLINT_REACT_SETTINGS = {
|
|
870
|
-
additionalComponents: [
|
|
871
|
-
{
|
|
872
|
-
name: "Link",
|
|
873
|
-
as: "a",
|
|
874
|
-
attributes: [
|
|
875
|
-
{
|
|
876
|
-
name: "to",
|
|
877
|
-
as: "href"
|
|
878
|
-
}
|
|
879
|
-
]
|
|
880
|
-
}
|
|
881
|
-
],
|
|
882
868
|
additionalHooks: {
|
|
883
869
|
useLayoutEffect: [
|
|
884
870
|
"useIsomorphicLayoutEffect"
|
|
885
871
|
]
|
|
886
872
|
},
|
|
873
|
+
polymorphicPropName: "as",
|
|
887
874
|
version: "detect"
|
|
888
875
|
};
|
|
889
876
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/shared",
|
|
3
|
-
"version": "1.7.1-next.
|
|
3
|
+
"version": "1.7.1-next.2",
|
|
4
4
|
"description": "ESLint React's Shared constants and functions.",
|
|
5
5
|
"homepage": "https://github.com/rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"micro-memoize": "4.1.2",
|
|
44
44
|
"tsup": "8.2.3",
|
|
45
45
|
"type-fest": "4.23.0",
|
|
46
|
-
"valibot": "0.
|
|
46
|
+
"valibot": "0.37.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "tsup",
|