@eslint-react/kit 1.40.1-beta.0 → 1.40.1
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 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +3 -1
- package/dist/index.mjs +3 -2
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -95,7 +95,6 @@ declare const DEFAULT_LANGUAGE_PREFERENCE: {
|
|
|
95
95
|
};
|
|
96
96
|
declare module "@typescript-eslint/utils/ts-eslint" {
|
|
97
97
|
interface SharedConfigurationSettings {
|
|
98
|
-
languagePreference?: Partial<LanguagePreference>;
|
|
99
98
|
}
|
|
100
99
|
}
|
|
101
100
|
|
|
@@ -136,9 +135,13 @@ declare const RE_SNAKE_CASE: RegExp;
|
|
|
136
135
|
declare const RE_CONSTANT_CASE: RegExp;
|
|
137
136
|
declare const RE_JAVASCRIPT_PROTOCOL: RegExp;
|
|
138
137
|
/**
|
|
139
|
-
* Regular expression for matching a
|
|
138
|
+
* Regular expression for matching a `@jsx` annotation comment.
|
|
140
139
|
*/
|
|
141
140
|
declare const RE_JSX_ANNOTATION: RegExp;
|
|
141
|
+
/**
|
|
142
|
+
* Regular expression for matching a `@jsxFrag` annotation comment.
|
|
143
|
+
*/
|
|
144
|
+
declare const RE_JSX_FRAG_ANNOTATION: RegExp;
|
|
142
145
|
/**
|
|
143
146
|
* Regular expression for matching a valid JavaScript identifier.
|
|
144
147
|
*/
|
|
@@ -165,4 +168,4 @@ declare function toRegExp(string: string): {
|
|
|
165
168
|
*/
|
|
166
169
|
declare function isRegExp(string: string): boolean;
|
|
167
170
|
|
|
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 };
|
|
171
|
+
export { index$1 as JsxRuntime, index as LanguagePreference, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JSX_ANNOTATION, RE_JSX_FRAG_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
|
@@ -95,7 +95,6 @@ declare const DEFAULT_LANGUAGE_PREFERENCE: {
|
|
|
95
95
|
};
|
|
96
96
|
declare module "@typescript-eslint/utils/ts-eslint" {
|
|
97
97
|
interface SharedConfigurationSettings {
|
|
98
|
-
languagePreference?: Partial<LanguagePreference>;
|
|
99
98
|
}
|
|
100
99
|
}
|
|
101
100
|
|
|
@@ -136,9 +135,13 @@ declare const RE_SNAKE_CASE: RegExp;
|
|
|
136
135
|
declare const RE_CONSTANT_CASE: RegExp;
|
|
137
136
|
declare const RE_JAVASCRIPT_PROTOCOL: RegExp;
|
|
138
137
|
/**
|
|
139
|
-
* Regular expression for matching a
|
|
138
|
+
* Regular expression for matching a `@jsx` annotation comment.
|
|
140
139
|
*/
|
|
141
140
|
declare const RE_JSX_ANNOTATION: RegExp;
|
|
141
|
+
/**
|
|
142
|
+
* Regular expression for matching a `@jsxFrag` annotation comment.
|
|
143
|
+
*/
|
|
144
|
+
declare const RE_JSX_FRAG_ANNOTATION: RegExp;
|
|
142
145
|
/**
|
|
143
146
|
* Regular expression for matching a valid JavaScript identifier.
|
|
144
147
|
*/
|
|
@@ -165,4 +168,4 @@ declare function toRegExp(string: string): {
|
|
|
165
168
|
*/
|
|
166
169
|
declare function isRegExp(string: string): boolean;
|
|
167
170
|
|
|
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 };
|
|
171
|
+
export { index$1 as JsxRuntime, index as LanguagePreference, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JSX_ANNOTATION, RE_JSX_FRAG_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
|
@@ -98,7 +98,8 @@ var RE_KEBAB_CASE = /^[a-z][\d\-a-z]*$/u;
|
|
|
98
98
|
var RE_SNAKE_CASE = /^[a-z][\d_a-z]*$/u;
|
|
99
99
|
var RE_CONSTANT_CASE = /^[A-Z][\d_A-Z]*$/u;
|
|
100
100
|
var RE_JAVASCRIPT_PROTOCOL = /^[\u0000-\u001F ]*j[\t\n\r]*a[\t\n\r]*v[\t\n\r]*a[\t\n\r]*s[\t\n\r]*c[\t\n\r]*r[\t\n\r]*i[\t\n\r]*p[\t\n\r]*t[\t\n\r]*:/iu;
|
|
101
|
-
var RE_JSX_ANNOTATION = /@jsx\s+(\S+)
|
|
101
|
+
var RE_JSX_ANNOTATION = /@jsx\s+(\S+)/u;
|
|
102
|
+
var RE_JSX_FRAG_ANNOTATION = /@jsxFrag\s+(\S+)/u;
|
|
102
103
|
var RE_JS_IDENTIFIER = /^[_$a-z][\w$]*$/i;
|
|
103
104
|
var RE_REGEXP_STR = /^\/(.+)\/([A-Za-z]*)$/u;
|
|
104
105
|
function toRegExp(string) {
|
|
@@ -123,6 +124,7 @@ exports.RE_CAMEL_CASE = RE_CAMEL_CASE;
|
|
|
123
124
|
exports.RE_CONSTANT_CASE = RE_CONSTANT_CASE;
|
|
124
125
|
exports.RE_JAVASCRIPT_PROTOCOL = RE_JAVASCRIPT_PROTOCOL;
|
|
125
126
|
exports.RE_JSX_ANNOTATION = RE_JSX_ANNOTATION;
|
|
127
|
+
exports.RE_JSX_FRAG_ANNOTATION = RE_JSX_FRAG_ANNOTATION;
|
|
126
128
|
exports.RE_JS_EXT = RE_JS_EXT;
|
|
127
129
|
exports.RE_JS_IDENTIFIER = RE_JS_IDENTIFIER;
|
|
128
130
|
exports.RE_KEBAB_CASE = RE_KEBAB_CASE;
|
package/dist/index.mjs
CHANGED
|
@@ -96,7 +96,8 @@ var RE_KEBAB_CASE = /^[a-z][\d\-a-z]*$/u;
|
|
|
96
96
|
var RE_SNAKE_CASE = /^[a-z][\d_a-z]*$/u;
|
|
97
97
|
var RE_CONSTANT_CASE = /^[A-Z][\d_A-Z]*$/u;
|
|
98
98
|
var RE_JAVASCRIPT_PROTOCOL = /^[\u0000-\u001F ]*j[\t\n\r]*a[\t\n\r]*v[\t\n\r]*a[\t\n\r]*s[\t\n\r]*c[\t\n\r]*r[\t\n\r]*i[\t\n\r]*p[\t\n\r]*t[\t\n\r]*:/iu;
|
|
99
|
-
var RE_JSX_ANNOTATION = /@jsx\s+(\S+)
|
|
99
|
+
var RE_JSX_ANNOTATION = /@jsx\s+(\S+)/u;
|
|
100
|
+
var RE_JSX_FRAG_ANNOTATION = /@jsxFrag\s+(\S+)/u;
|
|
100
101
|
var RE_JS_IDENTIFIER = /^[_$a-z][\w$]*$/i;
|
|
101
102
|
var RE_REGEXP_STR = /^\/(.+)\/([A-Za-z]*)$/u;
|
|
102
103
|
function toRegExp(string) {
|
|
@@ -115,4 +116,4 @@ function createReport(context) {
|
|
|
115
116
|
};
|
|
116
117
|
}
|
|
117
118
|
|
|
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 };
|
|
119
|
+
export { JsxRuntime_exports as JsxRuntime, LanguagePreference_exports as LanguagePreference, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JSX_ANNOTATION, RE_JSX_FRAG_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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/kit",
|
|
3
|
-
"version": "1.40.1
|
|
3
|
+
"version": "1.40.1",
|
|
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.1
|
|
41
|
+
"@eslint-react/eff": "1.40.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@tsconfig/node22": "^22.0.1",
|