@eslint-react/kit 1.40.5-beta.1 → 1.40.5-beta.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.d.mts CHANGED
@@ -38,16 +38,16 @@ type RuleFeature = "CFG" | "DBG" | "FIX" | "MOD" | "TSC" | "EXP";
38
38
  */
39
39
  declare function createReport<MessageID extends string>(context: RuleContext): (descriptor: _ | null | ReportDescriptor<MessageID>) => void;
40
40
 
41
- type JsxRuntimeOptions = Pick<CompilerOptions, "reactNamespace" | "jsx" | "jsxFactory" | "jsxFragmentFactory" | "jsxImportSource">;
41
+ type JsxRuntimeConfig = Pick<CompilerOptions, "reactNamespace" | "jsx" | "jsxFactory" | "jsxFragmentFactory" | "jsxImportSource">;
42
42
  /**
43
- * Create a JsxRuntimeOptions object
44
- * @returns JsxRuntimeOptions
43
+ * Create a JsxRuntimeConfig object
44
+ * @returns JsxRuntimeConfig
45
45
  */
46
- declare function make$1(): JsxRuntimeOptions;
46
+ declare function make$1(): JsxRuntimeConfig;
47
47
  /**
48
- * Get JsxRuntimeOptions from RuleContext
48
+ * Get JsxRuntimeConfig from RuleContext
49
49
  * @param context The RuleContext
50
- * @returns JsxRuntimeOptions
50
+ * @returns JsxRuntimeConfig
51
51
  */
52
52
  declare function getFromContext$1(context: RuleContext): {
53
53
  jsx: JsxEmit;
@@ -57,16 +57,16 @@ declare function getFromContext$1(context: RuleContext): {
57
57
  reactNamespace: string;
58
58
  };
59
59
  /**
60
- * Get JsxRuntimeOptions from annotation
60
+ * Get JsxRuntimeConfig from annotation
61
61
  * @param context The RuleContext
62
- * @returns JsxRuntimeOptions
62
+ * @returns JsxRuntimeConfig
63
63
  */
64
- declare function getFromAnnotation(context: RuleContext): JsxRuntimeOptions;
64
+ declare function getFromAnnotation(context: RuleContext): JsxRuntimeConfig;
65
65
 
66
- type index$1_JsxRuntimeOptions = JsxRuntimeOptions;
66
+ type index$1_JsxRuntimeConfig = JsxRuntimeConfig;
67
67
  declare const index$1_getFromAnnotation: typeof getFromAnnotation;
68
68
  declare namespace index$1 {
69
- export { type index$1_JsxRuntimeOptions as JsxRuntimeOptions, index$1_getFromAnnotation as getFromAnnotation, getFromContext$1 as getFromContext, make$1 as make };
69
+ export { type index$1_JsxRuntimeConfig as JsxRuntimeConfig, index$1_getFromAnnotation as getFromAnnotation, getFromContext$1 as getFromContext, make$1 as make };
70
70
  }
71
71
 
72
72
  /**
@@ -186,4 +186,4 @@ declare function toRegExp(string: string): {
186
186
  */
187
187
  declare function isRegExp(string: string): boolean;
188
188
 
189
- export { index$1 as JsxRuntimeOptions, index as LanguagePreference, RE_ANNOTATION_JSX, RE_ANNOTATION_JSX_FRAG, RE_ANNOTATION_JSX_IMPORT_SOURCE, RE_ANNOTATION_JSX_RUNTIME, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, 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 };
189
+ export { index$1 as JsxRuntimeConfig, index as LanguagePreference, RE_ANNOTATION_JSX, RE_ANNOTATION_JSX_FRAG, RE_ANNOTATION_JSX_IMPORT_SOURCE, RE_ANNOTATION_JSX_RUNTIME, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, 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
@@ -38,16 +38,16 @@ type RuleFeature = "CFG" | "DBG" | "FIX" | "MOD" | "TSC" | "EXP";
38
38
  */
39
39
  declare function createReport<MessageID extends string>(context: RuleContext): (descriptor: _ | null | ReportDescriptor<MessageID>) => void;
40
40
 
41
- type JsxRuntimeOptions = Pick<CompilerOptions, "reactNamespace" | "jsx" | "jsxFactory" | "jsxFragmentFactory" | "jsxImportSource">;
41
+ type JsxRuntimeConfig = Pick<CompilerOptions, "reactNamespace" | "jsx" | "jsxFactory" | "jsxFragmentFactory" | "jsxImportSource">;
42
42
  /**
43
- * Create a JsxRuntimeOptions object
44
- * @returns JsxRuntimeOptions
43
+ * Create a JsxRuntimeConfig object
44
+ * @returns JsxRuntimeConfig
45
45
  */
46
- declare function make$1(): JsxRuntimeOptions;
46
+ declare function make$1(): JsxRuntimeConfig;
47
47
  /**
48
- * Get JsxRuntimeOptions from RuleContext
48
+ * Get JsxRuntimeConfig from RuleContext
49
49
  * @param context The RuleContext
50
- * @returns JsxRuntimeOptions
50
+ * @returns JsxRuntimeConfig
51
51
  */
52
52
  declare function getFromContext$1(context: RuleContext): {
53
53
  jsx: JsxEmit;
@@ -57,16 +57,16 @@ declare function getFromContext$1(context: RuleContext): {
57
57
  reactNamespace: string;
58
58
  };
59
59
  /**
60
- * Get JsxRuntimeOptions from annotation
60
+ * Get JsxRuntimeConfig from annotation
61
61
  * @param context The RuleContext
62
- * @returns JsxRuntimeOptions
62
+ * @returns JsxRuntimeConfig
63
63
  */
64
- declare function getFromAnnotation(context: RuleContext): JsxRuntimeOptions;
64
+ declare function getFromAnnotation(context: RuleContext): JsxRuntimeConfig;
65
65
 
66
- type index$1_JsxRuntimeOptions = JsxRuntimeOptions;
66
+ type index$1_JsxRuntimeConfig = JsxRuntimeConfig;
67
67
  declare const index$1_getFromAnnotation: typeof getFromAnnotation;
68
68
  declare namespace index$1 {
69
- export { type index$1_JsxRuntimeOptions as JsxRuntimeOptions, index$1_getFromAnnotation as getFromAnnotation, getFromContext$1 as getFromContext, make$1 as make };
69
+ export { type index$1_JsxRuntimeConfig as JsxRuntimeConfig, index$1_getFromAnnotation as getFromAnnotation, getFromContext$1 as getFromContext, make$1 as make };
70
70
  }
71
71
 
72
72
  /**
@@ -186,4 +186,4 @@ declare function toRegExp(string: string): {
186
186
  */
187
187
  declare function isRegExp(string: string): boolean;
188
188
 
189
- export { index$1 as JsxRuntimeOptions, index as LanguagePreference, RE_ANNOTATION_JSX, RE_ANNOTATION_JSX_FRAG, RE_ANNOTATION_JSX_IMPORT_SOURCE, RE_ANNOTATION_JSX_RUNTIME, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, 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 };
189
+ export { index$1 as JsxRuntimeConfig, index as LanguagePreference, RE_ANNOTATION_JSX, RE_ANNOTATION_JSX_FRAG, RE_ANNOTATION_JSX_IMPORT_SOURCE, RE_ANNOTATION_JSX_RUNTIME, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, 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
@@ -9,9 +9,9 @@ var __export = (target, all) => {
9
9
  __defProp(target, name, { get: all[name], enumerable: true });
10
10
  };
11
11
 
12
- // src/JsxRuntimeOptions/index.ts
13
- var JsxRuntimeOptions_exports = {};
14
- __export(JsxRuntimeOptions_exports, {
12
+ // src/JsxRuntimeConfig/index.ts
13
+ var JsxRuntimeConfig_exports = {};
14
+ __export(JsxRuntimeConfig_exports, {
15
15
  getFromAnnotation: () => getFromAnnotation,
16
16
  getFromContext: () => getFromContext,
17
17
  make: () => make
@@ -41,7 +41,7 @@ function isRegExp(string) {
41
41
  return Boolean(RE_REGEXP_STR.test(string));
42
42
  }
43
43
 
44
- // src/JsxRuntimeOptions/JsxRuntimeOptions.ts
44
+ // src/JsxRuntimeConfig/JsxRuntimeConfig.ts
45
45
  function make() {
46
46
  return {};
47
47
  }
@@ -145,7 +145,7 @@ function createReport(context) {
145
145
  };
146
146
  }
147
147
 
148
- exports.JsxRuntimeOptions = JsxRuntimeOptions_exports;
148
+ exports.JsxRuntimeConfig = JsxRuntimeConfig_exports;
149
149
  exports.LanguagePreference = LanguagePreference_exports;
150
150
  exports.RE_ANNOTATION_JSX = RE_ANNOTATION_JSX;
151
151
  exports.RE_ANNOTATION_JSX_FRAG = RE_ANNOTATION_JSX_FRAG;
package/dist/index.mjs CHANGED
@@ -7,9 +7,9 @@ var __export = (target, all) => {
7
7
  __defProp(target, name, { get: all[name], enumerable: true });
8
8
  };
9
9
 
10
- // src/JsxRuntimeOptions/index.ts
11
- var JsxRuntimeOptions_exports = {};
12
- __export(JsxRuntimeOptions_exports, {
10
+ // src/JsxRuntimeConfig/index.ts
11
+ var JsxRuntimeConfig_exports = {};
12
+ __export(JsxRuntimeConfig_exports, {
13
13
  getFromAnnotation: () => getFromAnnotation,
14
14
  getFromContext: () => getFromContext,
15
15
  make: () => make
@@ -39,7 +39,7 @@ function isRegExp(string) {
39
39
  return Boolean(RE_REGEXP_STR.test(string));
40
40
  }
41
41
 
42
- // src/JsxRuntimeOptions/JsxRuntimeOptions.ts
42
+ // src/JsxRuntimeConfig/JsxRuntimeConfig.ts
43
43
  function make() {
44
44
  return {};
45
45
  }
@@ -143,4 +143,4 @@ function createReport(context) {
143
143
  };
144
144
  }
145
145
 
146
- export { JsxRuntimeOptions_exports as JsxRuntimeOptions, LanguagePreference_exports as LanguagePreference, RE_ANNOTATION_JSX, RE_ANNOTATION_JSX_FRAG, RE_ANNOTATION_JSX_IMPORT_SOURCE, RE_ANNOTATION_JSX_RUNTIME, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, RE_JS_EXT, RE_JS_IDENTIFIER, RE_KEBAB_CASE, RE_PASCAL_CASE, RE_REGEXP_STR, RE_SNAKE_CASE, RE_TS_EXT, createReport, isRegExp, toRegExp };
146
+ export { JsxRuntimeConfig_exports as JsxRuntimeConfig, LanguagePreference_exports as LanguagePreference, RE_ANNOTATION_JSX, RE_ANNOTATION_JSX_FRAG, RE_ANNOTATION_JSX_IMPORT_SOURCE, RE_ANNOTATION_JSX_RUNTIME, RE_CAMEL_CASE, RE_CONSTANT_CASE, RE_JAVASCRIPT_PROTOCOL, 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.5-beta.1",
3
+ "version": "1.40.5-beta.2",
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.5-beta.1"
41
+ "@eslint-react/eff": "1.40.5-beta.2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@tsconfig/node22": "^22.0.1",