@eslint-react/kit 1.40.0 → 1.40.1-next.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.
- package/dist/index.d.mts +54 -4
- package/dist/index.d.ts +54 -4
- package/dist/index.js +66 -0
- package/dist/index.mjs +66 -1
- package/package.json +4 -3
package/dist/index.d.mts
CHANGED
|
@@ -2,6 +2,8 @@ import { _ } from '@eslint-react/eff';
|
|
|
2
2
|
import * as tseslint from '@typescript-eslint/utils/ts-eslint';
|
|
3
3
|
import { ReportDescriptor } from '@typescript-eslint/utils/ts-eslint';
|
|
4
4
|
import { CompilerOptions, JsxEmit } from 'typescript';
|
|
5
|
+
import * as valibot from 'valibot';
|
|
6
|
+
import { InferOutput } from 'valibot';
|
|
5
7
|
|
|
6
8
|
/**
|
|
7
9
|
* Rule severity.
|
|
@@ -50,10 +52,58 @@ declare function getJsxRuntimeOptionsFromContext(context: RuleContext): {
|
|
|
50
52
|
reactNamespace: string;
|
|
51
53
|
};
|
|
52
54
|
|
|
53
|
-
type
|
|
54
|
-
declare const
|
|
55
|
+
type index$1_JsxRuntimeOptions = JsxRuntimeOptions;
|
|
56
|
+
declare const index$1_getJsxRuntimeOptionsFromContext: typeof getJsxRuntimeOptionsFromContext;
|
|
57
|
+
declare namespace index$1 {
|
|
58
|
+
export { type index$1_JsxRuntimeOptions as JsxRuntimeOptions, index$1_getJsxRuntimeOptionsFromContext as getJsxRuntimeOptionsFromContext };
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
declare const LanguagePreferenceSchema: valibot.ObjectSchema<{
|
|
65
|
+
readonly bracketSameLine: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, false>;
|
|
66
|
+
readonly bracketSpacing: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, true>;
|
|
67
|
+
readonly endOfLine: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"lf", undefined>, valibot.LiteralSchema<"crlf", undefined>, valibot.LiteralSchema<"cr", undefined>, valibot.LiteralSchema<"auto", undefined>], undefined>, "lf">;
|
|
68
|
+
readonly indentStyle: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"tab", undefined>, valibot.LiteralSchema<"space", undefined>], undefined>, "space">;
|
|
69
|
+
readonly indentWidth: valibot.OptionalSchema<valibot.NumberSchema<undefined>, 2>;
|
|
70
|
+
readonly insertFinalNewline: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, true>;
|
|
71
|
+
readonly jsxQuoteStyle: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"preferDouble", undefined>, valibot.LiteralSchema<"preferSingle", undefined>], undefined>, "preferDouble">;
|
|
72
|
+
readonly quoteStyle: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"alwaysDouble", undefined>, valibot.LiteralSchema<"alwaysSingle", undefined>, valibot.LiteralSchema<"preferDouble", undefined>, valibot.LiteralSchema<"preferSingle", undefined>], undefined>, "preferSingle">;
|
|
73
|
+
readonly semicolon: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"always", undefined>, valibot.LiteralSchema<"prefer", undefined>, valibot.LiteralSchema<"asi", undefined>], undefined>, "always">;
|
|
74
|
+
readonly trailingComma: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"all", undefined>, valibot.LiteralSchema<"es5", undefined>, valibot.LiteralSchema<"none", undefined>], undefined>, "all">;
|
|
75
|
+
}, undefined>;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
type LanguagePreference = InferOutput<typeof LanguagePreferenceSchema>;
|
|
81
|
+
/**
|
|
82
|
+
* The default language preference.
|
|
83
|
+
*/
|
|
84
|
+
declare const DEFAULT_LANGUAGE_PREFERENCE: {
|
|
85
|
+
bracketSameLine: boolean;
|
|
86
|
+
bracketSpacing: boolean;
|
|
87
|
+
endOfLine: "lf" | "crlf" | "cr" | "auto";
|
|
88
|
+
indentStyle: "tab" | "space";
|
|
89
|
+
indentWidth: number;
|
|
90
|
+
insertFinalNewline: boolean;
|
|
91
|
+
jsxQuoteStyle: "preferDouble" | "preferSingle";
|
|
92
|
+
quoteStyle: "preferDouble" | "preferSingle" | "alwaysDouble" | "alwaysSingle";
|
|
93
|
+
semicolon: "always" | "prefer" | "asi";
|
|
94
|
+
trailingComma: "all" | "es5" | "none";
|
|
95
|
+
};
|
|
96
|
+
declare module "@typescript-eslint/utils/ts-eslint" {
|
|
97
|
+
interface SharedConfigurationSettings {
|
|
98
|
+
languagePreference?: Partial<LanguagePreference>;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
declare const index_DEFAULT_LANGUAGE_PREFERENCE: typeof DEFAULT_LANGUAGE_PREFERENCE;
|
|
103
|
+
type index_LanguagePreference = LanguagePreference;
|
|
104
|
+
declare const index_LanguagePreferenceSchema: typeof LanguagePreferenceSchema;
|
|
55
105
|
declare namespace index {
|
|
56
|
-
export { type
|
|
106
|
+
export { index_DEFAULT_LANGUAGE_PREFERENCE as DEFAULT_LANGUAGE_PREFERENCE, type index_LanguagePreference as LanguagePreference, index_LanguagePreferenceSchema as LanguagePreferenceSchema };
|
|
57
107
|
}
|
|
58
108
|
|
|
59
109
|
/**
|
|
@@ -115,4 +165,4 @@ declare function toRegExp(string: string): {
|
|
|
115
165
|
*/
|
|
116
166
|
declare function isRegExp(string: string): boolean;
|
|
117
167
|
|
|
118
|
-
export { index as JsxRuntime, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JSX_ANNOTATION, RE_JS_EXT, RE_JS_IDENTIFIER, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_REGEXP_STR, RE_SNAKE_CASE, RE_TS_EXT, type RuleContext, type RuleDeclaration, type RuleFeature, type RulePreset, type RuleSeverity, createReport, isRegExp, toRegExp };
|
|
168
|
+
export { index$1 as JsxRuntime, index as LanguagePreference, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JSX_ANNOTATION, RE_JS_EXT, RE_JS_IDENTIFIER, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_REGEXP_STR, RE_SNAKE_CASE, RE_TS_EXT, type RuleContext, type RuleDeclaration, type RuleFeature, type RulePreset, type RuleSeverity, createReport, isRegExp, toRegExp };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { _ } from '@eslint-react/eff';
|
|
|
2
2
|
import * as tseslint from '@typescript-eslint/utils/ts-eslint';
|
|
3
3
|
import { ReportDescriptor } from '@typescript-eslint/utils/ts-eslint';
|
|
4
4
|
import { CompilerOptions, JsxEmit } from 'typescript';
|
|
5
|
+
import * as valibot from 'valibot';
|
|
6
|
+
import { InferOutput } from 'valibot';
|
|
5
7
|
|
|
6
8
|
/**
|
|
7
9
|
* Rule severity.
|
|
@@ -50,10 +52,58 @@ declare function getJsxRuntimeOptionsFromContext(context: RuleContext): {
|
|
|
50
52
|
reactNamespace: string;
|
|
51
53
|
};
|
|
52
54
|
|
|
53
|
-
type
|
|
54
|
-
declare const
|
|
55
|
+
type index$1_JsxRuntimeOptions = JsxRuntimeOptions;
|
|
56
|
+
declare const index$1_getJsxRuntimeOptionsFromContext: typeof getJsxRuntimeOptionsFromContext;
|
|
57
|
+
declare namespace index$1 {
|
|
58
|
+
export { type index$1_JsxRuntimeOptions as JsxRuntimeOptions, index$1_getJsxRuntimeOptionsFromContext as getJsxRuntimeOptionsFromContext };
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
declare const LanguagePreferenceSchema: valibot.ObjectSchema<{
|
|
65
|
+
readonly bracketSameLine: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, false>;
|
|
66
|
+
readonly bracketSpacing: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, true>;
|
|
67
|
+
readonly endOfLine: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"lf", undefined>, valibot.LiteralSchema<"crlf", undefined>, valibot.LiteralSchema<"cr", undefined>, valibot.LiteralSchema<"auto", undefined>], undefined>, "lf">;
|
|
68
|
+
readonly indentStyle: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"tab", undefined>, valibot.LiteralSchema<"space", undefined>], undefined>, "space">;
|
|
69
|
+
readonly indentWidth: valibot.OptionalSchema<valibot.NumberSchema<undefined>, 2>;
|
|
70
|
+
readonly insertFinalNewline: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, true>;
|
|
71
|
+
readonly jsxQuoteStyle: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"preferDouble", undefined>, valibot.LiteralSchema<"preferSingle", undefined>], undefined>, "preferDouble">;
|
|
72
|
+
readonly quoteStyle: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"alwaysDouble", undefined>, valibot.LiteralSchema<"alwaysSingle", undefined>, valibot.LiteralSchema<"preferDouble", undefined>, valibot.LiteralSchema<"preferSingle", undefined>], undefined>, "preferSingle">;
|
|
73
|
+
readonly semicolon: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"always", undefined>, valibot.LiteralSchema<"prefer", undefined>, valibot.LiteralSchema<"asi", undefined>], undefined>, "always">;
|
|
74
|
+
readonly trailingComma: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"all", undefined>, valibot.LiteralSchema<"es5", undefined>, valibot.LiteralSchema<"none", undefined>], undefined>, "all">;
|
|
75
|
+
}, undefined>;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
type LanguagePreference = InferOutput<typeof LanguagePreferenceSchema>;
|
|
81
|
+
/**
|
|
82
|
+
* The default language preference.
|
|
83
|
+
*/
|
|
84
|
+
declare const DEFAULT_LANGUAGE_PREFERENCE: {
|
|
85
|
+
bracketSameLine: boolean;
|
|
86
|
+
bracketSpacing: boolean;
|
|
87
|
+
endOfLine: "lf" | "crlf" | "cr" | "auto";
|
|
88
|
+
indentStyle: "tab" | "space";
|
|
89
|
+
indentWidth: number;
|
|
90
|
+
insertFinalNewline: boolean;
|
|
91
|
+
jsxQuoteStyle: "preferDouble" | "preferSingle";
|
|
92
|
+
quoteStyle: "preferDouble" | "preferSingle" | "alwaysDouble" | "alwaysSingle";
|
|
93
|
+
semicolon: "always" | "prefer" | "asi";
|
|
94
|
+
trailingComma: "all" | "es5" | "none";
|
|
95
|
+
};
|
|
96
|
+
declare module "@typescript-eslint/utils/ts-eslint" {
|
|
97
|
+
interface SharedConfigurationSettings {
|
|
98
|
+
languagePreference?: Partial<LanguagePreference>;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
declare const index_DEFAULT_LANGUAGE_PREFERENCE: typeof DEFAULT_LANGUAGE_PREFERENCE;
|
|
103
|
+
type index_LanguagePreference = LanguagePreference;
|
|
104
|
+
declare const index_LanguagePreferenceSchema: typeof LanguagePreferenceSchema;
|
|
55
105
|
declare namespace index {
|
|
56
|
-
export { type
|
|
106
|
+
export { index_DEFAULT_LANGUAGE_PREFERENCE as DEFAULT_LANGUAGE_PREFERENCE, type index_LanguagePreference as LanguagePreference, index_LanguagePreferenceSchema as LanguagePreferenceSchema };
|
|
57
107
|
}
|
|
58
108
|
|
|
59
109
|
/**
|
|
@@ -115,4 +165,4 @@ declare function toRegExp(string: string): {
|
|
|
115
165
|
*/
|
|
116
166
|
declare function isRegExp(string: string): boolean;
|
|
117
167
|
|
|
118
|
-
export { index as JsxRuntime, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JSX_ANNOTATION, RE_JS_EXT, RE_JS_IDENTIFIER, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_REGEXP_STR, RE_SNAKE_CASE, RE_TS_EXT, type RuleContext, type RuleDeclaration, type RuleFeature, type RulePreset, type RuleSeverity, createReport, isRegExp, toRegExp };
|
|
168
|
+
export { index$1 as JsxRuntime, index as LanguagePreference, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JSX_ANNOTATION, RE_JS_EXT, RE_JS_IDENTIFIER, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_REGEXP_STR, RE_SNAKE_CASE, RE_TS_EXT, type RuleContext, type RuleDeclaration, type RuleFeature, type RulePreset, type RuleSeverity, createReport, isRegExp, toRegExp };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var typescript = require('typescript');
|
|
4
|
+
var valibot = require('valibot');
|
|
4
5
|
|
|
5
6
|
var __defProp = Object.defineProperty;
|
|
6
7
|
var __export = (target, all) => {
|
|
@@ -24,6 +25,70 @@ function getJsxRuntimeOptionsFromContext(context) {
|
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
27
|
|
|
28
|
+
// src/LanguagePreference/index.ts
|
|
29
|
+
var LanguagePreference_exports = {};
|
|
30
|
+
__export(LanguagePreference_exports, {
|
|
31
|
+
DEFAULT_LANGUAGE_PREFERENCE: () => DEFAULT_LANGUAGE_PREFERENCE,
|
|
32
|
+
LanguagePreferenceSchema: () => LanguagePreferenceSchema
|
|
33
|
+
});
|
|
34
|
+
var LanguagePreferenceSchema = valibot.object({
|
|
35
|
+
bracketSameLine: valibot.optional(valibot.boolean(), false),
|
|
36
|
+
bracketSpacing: valibot.optional(valibot.boolean(), true),
|
|
37
|
+
endOfLine: valibot.optional(
|
|
38
|
+
valibot.union([
|
|
39
|
+
valibot.literal("lf"),
|
|
40
|
+
valibot.literal("crlf"),
|
|
41
|
+
valibot.literal("cr"),
|
|
42
|
+
valibot.literal("auto")
|
|
43
|
+
]),
|
|
44
|
+
"lf"
|
|
45
|
+
),
|
|
46
|
+
indentStyle: valibot.optional(
|
|
47
|
+
valibot.union([
|
|
48
|
+
valibot.literal("tab"),
|
|
49
|
+
valibot.literal("space")
|
|
50
|
+
]),
|
|
51
|
+
"space"
|
|
52
|
+
),
|
|
53
|
+
indentWidth: valibot.optional(valibot.number(), 2),
|
|
54
|
+
insertFinalNewline: valibot.optional(valibot.boolean(), true),
|
|
55
|
+
jsxQuoteStyle: valibot.optional(
|
|
56
|
+
valibot.union([
|
|
57
|
+
valibot.literal("preferDouble"),
|
|
58
|
+
valibot.literal("preferSingle")
|
|
59
|
+
]),
|
|
60
|
+
"preferDouble"
|
|
61
|
+
),
|
|
62
|
+
quoteStyle: valibot.optional(
|
|
63
|
+
valibot.union([
|
|
64
|
+
valibot.literal("alwaysDouble"),
|
|
65
|
+
valibot.literal("alwaysSingle"),
|
|
66
|
+
valibot.literal("preferDouble"),
|
|
67
|
+
valibot.literal("preferSingle")
|
|
68
|
+
]),
|
|
69
|
+
"preferSingle"
|
|
70
|
+
),
|
|
71
|
+
semicolon: valibot.optional(
|
|
72
|
+
valibot.union([
|
|
73
|
+
valibot.literal("always"),
|
|
74
|
+
valibot.literal("prefer"),
|
|
75
|
+
valibot.literal("asi")
|
|
76
|
+
]),
|
|
77
|
+
"always"
|
|
78
|
+
),
|
|
79
|
+
trailingComma: valibot.optional(
|
|
80
|
+
valibot.union([
|
|
81
|
+
valibot.literal("all"),
|
|
82
|
+
valibot.literal("es5"),
|
|
83
|
+
valibot.literal("none")
|
|
84
|
+
]),
|
|
85
|
+
"all"
|
|
86
|
+
)
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
// src/LanguagePreference/LanguagePreference.ts
|
|
90
|
+
var DEFAULT_LANGUAGE_PREFERENCE = valibot.parse(LanguagePreferenceSchema, {});
|
|
91
|
+
|
|
27
92
|
// src/RegExp.ts
|
|
28
93
|
var RE_TS_EXT = /^[cm]?tsx?$/;
|
|
29
94
|
var RE_JS_EXT = /^[cm]?jsx?$/;
|
|
@@ -53,6 +118,7 @@ function createReport(context) {
|
|
|
53
118
|
}
|
|
54
119
|
|
|
55
120
|
exports.JsxRuntime = JsxRuntime_exports;
|
|
121
|
+
exports.LanguagePreference = LanguagePreference_exports;
|
|
56
122
|
exports.RE_CAMEL_CASE = RE_CAMEL_CASE;
|
|
57
123
|
exports.RE_CONSTANT_CASE = RE_CONSTANT_CASE;
|
|
58
124
|
exports.RE_JAVASCRIPT_PROTOCOL = RE_JAVASCRIPT_PROTOCOL;
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { JsxEmit } from 'typescript';
|
|
2
|
+
import { object, optional, union, literal, boolean, number, parse } from 'valibot';
|
|
2
3
|
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __export = (target, all) => {
|
|
@@ -22,6 +23,70 @@ function getJsxRuntimeOptionsFromContext(context) {
|
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
|
|
26
|
+
// src/LanguagePreference/index.ts
|
|
27
|
+
var LanguagePreference_exports = {};
|
|
28
|
+
__export(LanguagePreference_exports, {
|
|
29
|
+
DEFAULT_LANGUAGE_PREFERENCE: () => DEFAULT_LANGUAGE_PREFERENCE,
|
|
30
|
+
LanguagePreferenceSchema: () => LanguagePreferenceSchema
|
|
31
|
+
});
|
|
32
|
+
var LanguagePreferenceSchema = object({
|
|
33
|
+
bracketSameLine: optional(boolean(), false),
|
|
34
|
+
bracketSpacing: optional(boolean(), true),
|
|
35
|
+
endOfLine: optional(
|
|
36
|
+
union([
|
|
37
|
+
literal("lf"),
|
|
38
|
+
literal("crlf"),
|
|
39
|
+
literal("cr"),
|
|
40
|
+
literal("auto")
|
|
41
|
+
]),
|
|
42
|
+
"lf"
|
|
43
|
+
),
|
|
44
|
+
indentStyle: optional(
|
|
45
|
+
union([
|
|
46
|
+
literal("tab"),
|
|
47
|
+
literal("space")
|
|
48
|
+
]),
|
|
49
|
+
"space"
|
|
50
|
+
),
|
|
51
|
+
indentWidth: optional(number(), 2),
|
|
52
|
+
insertFinalNewline: optional(boolean(), true),
|
|
53
|
+
jsxQuoteStyle: optional(
|
|
54
|
+
union([
|
|
55
|
+
literal("preferDouble"),
|
|
56
|
+
literal("preferSingle")
|
|
57
|
+
]),
|
|
58
|
+
"preferDouble"
|
|
59
|
+
),
|
|
60
|
+
quoteStyle: optional(
|
|
61
|
+
union([
|
|
62
|
+
literal("alwaysDouble"),
|
|
63
|
+
literal("alwaysSingle"),
|
|
64
|
+
literal("preferDouble"),
|
|
65
|
+
literal("preferSingle")
|
|
66
|
+
]),
|
|
67
|
+
"preferSingle"
|
|
68
|
+
),
|
|
69
|
+
semicolon: optional(
|
|
70
|
+
union([
|
|
71
|
+
literal("always"),
|
|
72
|
+
literal("prefer"),
|
|
73
|
+
literal("asi")
|
|
74
|
+
]),
|
|
75
|
+
"always"
|
|
76
|
+
),
|
|
77
|
+
trailingComma: optional(
|
|
78
|
+
union([
|
|
79
|
+
literal("all"),
|
|
80
|
+
literal("es5"),
|
|
81
|
+
literal("none")
|
|
82
|
+
]),
|
|
83
|
+
"all"
|
|
84
|
+
)
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
// src/LanguagePreference/LanguagePreference.ts
|
|
88
|
+
var DEFAULT_LANGUAGE_PREFERENCE = parse(LanguagePreferenceSchema, {});
|
|
89
|
+
|
|
25
90
|
// src/RegExp.ts
|
|
26
91
|
var RE_TS_EXT = /^[cm]?tsx?$/;
|
|
27
92
|
var RE_JS_EXT = /^[cm]?jsx?$/;
|
|
@@ -50,4 +115,4 @@ function createReport(context) {
|
|
|
50
115
|
};
|
|
51
116
|
}
|
|
52
117
|
|
|
53
|
-
export { JsxRuntime_exports as JsxRuntime, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JSX_ANNOTATION, RE_JS_EXT, RE_JS_IDENTIFIER, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_REGEXP_STR, RE_SNAKE_CASE, RE_TS_EXT, createReport, isRegExp, toRegExp };
|
|
118
|
+
export { JsxRuntime_exports as JsxRuntime, LanguagePreference_exports as LanguagePreference, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JSX_ANNOTATION, RE_JS_EXT, RE_JS_IDENTIFIER, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_REGEXP_STR, RE_SNAKE_CASE, RE_TS_EXT, createReport, isRegExp, toRegExp };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/kit",
|
|
3
|
-
"version": "1.40.0",
|
|
4
|
-
"description": "ESLint React's
|
|
3
|
+
"version": "1.40.1-next.0",
|
|
4
|
+
"description": "ESLint React's plugin kit for building plugins and rules.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/Rel1cx/eslint-react/issues"
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"dependencies": {
|
|
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.1-next.0"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"@tsconfig/node22": "^22.0.1",
|