@eslint-react/kit 1.40.4-beta.0 → 1.40.4-beta.4
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 +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +7 -1
- package/dist/index.mjs +7 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -85,6 +85,10 @@ declare const DEFAULT_LANGUAGE_PREFERENCE: {
|
|
|
85
85
|
readonly semicolons: "always";
|
|
86
86
|
readonly trailingCommas: "all";
|
|
87
87
|
};
|
|
88
|
+
/**
|
|
89
|
+
* Get a copy of the default LanguagePreference.
|
|
90
|
+
*/
|
|
91
|
+
declare function make(): LanguagePreference;
|
|
88
92
|
declare module "@typescript-eslint/utils/ts-eslint" {
|
|
89
93
|
interface SharedConfigurationSettings {
|
|
90
94
|
}
|
|
@@ -93,8 +97,9 @@ declare module "@typescript-eslint/utils/ts-eslint" {
|
|
|
93
97
|
declare const index_DEFAULT_LANGUAGE_PREFERENCE: typeof DEFAULT_LANGUAGE_PREFERENCE;
|
|
94
98
|
type index_LanguagePreference = LanguagePreference;
|
|
95
99
|
declare const index_LanguagePreferenceSchema: typeof LanguagePreferenceSchema;
|
|
100
|
+
declare const index_make: typeof make;
|
|
96
101
|
declare namespace index {
|
|
97
|
-
export { index_DEFAULT_LANGUAGE_PREFERENCE as DEFAULT_LANGUAGE_PREFERENCE, type index_LanguagePreference as LanguagePreference, index_LanguagePreferenceSchema as LanguagePreferenceSchema };
|
|
102
|
+
export { index_DEFAULT_LANGUAGE_PREFERENCE as DEFAULT_LANGUAGE_PREFERENCE, type index_LanguagePreference as LanguagePreference, index_LanguagePreferenceSchema as LanguagePreferenceSchema, index_make as make };
|
|
98
103
|
}
|
|
99
104
|
|
|
100
105
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -85,6 +85,10 @@ declare const DEFAULT_LANGUAGE_PREFERENCE: {
|
|
|
85
85
|
readonly semicolons: "always";
|
|
86
86
|
readonly trailingCommas: "all";
|
|
87
87
|
};
|
|
88
|
+
/**
|
|
89
|
+
* Get a copy of the default LanguagePreference.
|
|
90
|
+
*/
|
|
91
|
+
declare function make(): LanguagePreference;
|
|
88
92
|
declare module "@typescript-eslint/utils/ts-eslint" {
|
|
89
93
|
interface SharedConfigurationSettings {
|
|
90
94
|
}
|
|
@@ -93,8 +97,9 @@ declare module "@typescript-eslint/utils/ts-eslint" {
|
|
|
93
97
|
declare const index_DEFAULT_LANGUAGE_PREFERENCE: typeof DEFAULT_LANGUAGE_PREFERENCE;
|
|
94
98
|
type index_LanguagePreference = LanguagePreference;
|
|
95
99
|
declare const index_LanguagePreferenceSchema: typeof LanguagePreferenceSchema;
|
|
100
|
+
declare const index_make: typeof make;
|
|
96
101
|
declare namespace index {
|
|
97
|
-
export { index_DEFAULT_LANGUAGE_PREFERENCE as DEFAULT_LANGUAGE_PREFERENCE, type index_LanguagePreference as LanguagePreference, index_LanguagePreferenceSchema as LanguagePreferenceSchema };
|
|
102
|
+
export { index_DEFAULT_LANGUAGE_PREFERENCE as DEFAULT_LANGUAGE_PREFERENCE, type index_LanguagePreference as LanguagePreference, index_LanguagePreferenceSchema as LanguagePreferenceSchema, index_make as make };
|
|
98
103
|
}
|
|
99
104
|
|
|
100
105
|
/**
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,8 @@ function getJsxRuntimeOptionsFromContext(context) {
|
|
|
29
29
|
var LanguagePreference_exports = {};
|
|
30
30
|
__export(LanguagePreference_exports, {
|
|
31
31
|
DEFAULT_LANGUAGE_PREFERENCE: () => DEFAULT_LANGUAGE_PREFERENCE,
|
|
32
|
-
LanguagePreferenceSchema: () => LanguagePreferenceSchema
|
|
32
|
+
LanguagePreferenceSchema: () => LanguagePreferenceSchema,
|
|
33
|
+
make: () => make
|
|
33
34
|
});
|
|
34
35
|
var DEFAULT_LANGUAGE_PREFERENCE = {
|
|
35
36
|
indentStyle: "space",
|
|
@@ -39,6 +40,11 @@ var DEFAULT_LANGUAGE_PREFERENCE = {
|
|
|
39
40
|
semicolons: "always",
|
|
40
41
|
trailingCommas: "all"
|
|
41
42
|
};
|
|
43
|
+
function make() {
|
|
44
|
+
return {
|
|
45
|
+
...DEFAULT_LANGUAGE_PREFERENCE
|
|
46
|
+
};
|
|
47
|
+
}
|
|
42
48
|
var LanguagePreferenceSchema = valibot.object({
|
|
43
49
|
indentStyle: valibot.optional(
|
|
44
50
|
valibot.union([
|
package/dist/index.mjs
CHANGED
|
@@ -27,7 +27,8 @@ function getJsxRuntimeOptionsFromContext(context) {
|
|
|
27
27
|
var LanguagePreference_exports = {};
|
|
28
28
|
__export(LanguagePreference_exports, {
|
|
29
29
|
DEFAULT_LANGUAGE_PREFERENCE: () => DEFAULT_LANGUAGE_PREFERENCE,
|
|
30
|
-
LanguagePreferenceSchema: () => LanguagePreferenceSchema
|
|
30
|
+
LanguagePreferenceSchema: () => LanguagePreferenceSchema,
|
|
31
|
+
make: () => make
|
|
31
32
|
});
|
|
32
33
|
var DEFAULT_LANGUAGE_PREFERENCE = {
|
|
33
34
|
indentStyle: "space",
|
|
@@ -37,6 +38,11 @@ var DEFAULT_LANGUAGE_PREFERENCE = {
|
|
|
37
38
|
semicolons: "always",
|
|
38
39
|
trailingCommas: "all"
|
|
39
40
|
};
|
|
41
|
+
function make() {
|
|
42
|
+
return {
|
|
43
|
+
...DEFAULT_LANGUAGE_PREFERENCE
|
|
44
|
+
};
|
|
45
|
+
}
|
|
40
46
|
var LanguagePreferenceSchema = object({
|
|
41
47
|
indentStyle: optional(
|
|
42
48
|
union([
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/kit",
|
|
3
|
-
"version": "1.40.4-beta.
|
|
3
|
+
"version": "1.40.4-beta.4",
|
|
4
4
|
"description": "ESLint React's plugin kit for building plugins and rules.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@typescript-eslint/utils": "^8.29.0",
|
|
39
39
|
"ts-pattern": "^5.7.0",
|
|
40
40
|
"valibot": "^1.0.0",
|
|
41
|
-
"@eslint-react/eff": "1.40.4-beta.
|
|
41
|
+
"@eslint-react/eff": "1.40.4-beta.4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@tsconfig/node22": "^22.0.1",
|