@stripe/extensibility-eslint-plugin 0.15.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.
Files changed (195) hide show
  1. package/LICENSE.md +19 -0
  2. package/dist/configs/async-with-egress.cjs +8228 -0
  3. package/dist/configs/async-with-egress.d.ts +8 -0
  4. package/dist/configs/async-with-egress.d.ts.map +1 -0
  5. package/dist/configs/async-with-egress.js +8197 -0
  6. package/dist/configs/billing.bill.discount_calculation.cjs +8245 -0
  7. package/dist/configs/billing.bill.discount_calculation.d.ts +9 -0
  8. package/dist/configs/billing.bill.discount_calculation.d.ts.map +1 -0
  9. package/dist/configs/billing.bill.discount_calculation.js +8214 -0
  10. package/dist/configs/billing.customer_balance_application.cjs +8245 -0
  11. package/dist/configs/billing.customer_balance_application.d.ts +9 -0
  12. package/dist/configs/billing.customer_balance_application.d.ts.map +1 -0
  13. package/dist/configs/billing.customer_balance_application.js +8214 -0
  14. package/dist/configs/billing.invoice_collection_setting.cjs +8245 -0
  15. package/dist/configs/billing.invoice_collection_setting.d.ts +9 -0
  16. package/dist/configs/billing.invoice_collection_setting.d.ts.map +1 -0
  17. package/dist/configs/billing.invoice_collection_setting.js +8214 -0
  18. package/dist/configs/billing.prorations.cjs +8245 -0
  19. package/dist/configs/billing.prorations.d.ts +8 -0
  20. package/dist/configs/billing.prorations.d.ts.map +1 -0
  21. package/dist/configs/billing.prorations.js +8214 -0
  22. package/dist/configs/billing.recurring_billing_item_handling.cjs +8245 -0
  23. package/dist/configs/billing.recurring_billing_item_handling.d.ts +9 -0
  24. package/dist/configs/billing.recurring_billing_item_handling.d.ts.map +1 -0
  25. package/dist/configs/billing.recurring_billing_item_handling.js +8214 -0
  26. package/dist/configs/core.workflows.custom_action.cjs +8245 -0
  27. package/dist/configs/core.workflows.custom_action.d.ts +9 -0
  28. package/dist/configs/core.workflows.custom_action.d.ts.map +1 -0
  29. package/dist/configs/core.workflows.custom_action.js +8214 -0
  30. package/dist/configs/custom-objects.cjs +8238 -0
  31. package/dist/configs/custom-objects.d.ts +9 -0
  32. package/dist/configs/custom-objects.d.ts.map +1 -0
  33. package/dist/configs/custom-objects.js +8207 -0
  34. package/dist/configs/extend.objects.custom_objects.cjs +8245 -0
  35. package/dist/configs/extend.objects.custom_objects.d.ts +9 -0
  36. package/dist/configs/extend.objects.custom_objects.d.ts.map +1 -0
  37. package/dist/configs/extend.objects.custom_objects.js +8214 -0
  38. package/dist/configs/extend.workflows.custom_action.cjs +8245 -0
  39. package/dist/configs/extend.workflows.custom_action.d.ts +9 -0
  40. package/dist/configs/extend.workflows.custom_action.d.ts.map +1 -0
  41. package/dist/configs/extend.workflows.custom_action.js +8214 -0
  42. package/dist/configs/runtime-core.cjs +8218 -0
  43. package/dist/configs/runtime-core.d.ts +8 -0
  44. package/dist/configs/runtime-core.d.ts.map +1 -0
  45. package/dist/configs/runtime-core.js +8187 -0
  46. package/dist/configs/sync-no-egress.cjs +8228 -0
  47. package/dist/configs/sync-no-egress.d.ts +8 -0
  48. package/dist/configs/sync-no-egress.d.ts.map +1 -0
  49. package/dist/configs/sync-no-egress.js +8197 -0
  50. package/dist/custom-object-rules/action-must-be-async.d.ts +4 -0
  51. package/dist/custom-object-rules/action-must-be-async.d.ts.map +1 -0
  52. package/dist/custom-object-rules/display-property-tags.d.ts +4 -0
  53. package/dist/custom-object-rules/display-property-tags.d.ts.map +1 -0
  54. package/dist/custom-object-rules/index.d.ts +8 -0
  55. package/dist/custom-object-rules/index.d.ts.map +1 -0
  56. package/dist/custom-object-rules/intermediate-must-be-abstract.d.ts +4 -0
  57. package/dist/custom-object-rules/intermediate-must-be-abstract.d.ts.map +1 -0
  58. package/dist/custom-object-rules/no-internal-action.d.ts +4 -0
  59. package/dist/custom-object-rules/no-internal-action.d.ts.map +1 -0
  60. package/dist/custom-object-rules/one-object-per-file.d.ts +4 -0
  61. package/dist/custom-object-rules/one-object-per-file.d.ts.map +1 -0
  62. package/dist/custom-object-rules/requires-base-object.d.ts +4 -0
  63. package/dist/custom-object-rules/requires-base-object.d.ts.map +1 -0
  64. package/dist/custom-object-rules/requires-custom-object-decorator.d.ts +4 -0
  65. package/dist/custom-object-rules/requires-custom-object-decorator.d.ts.map +1 -0
  66. package/dist/dsl-rules/index.d.ts +10 -0
  67. package/dist/dsl-rules/index.d.ts.map +1 -0
  68. package/dist/dsl-rules/no-module-scoped-let.d.ts +4 -0
  69. package/dist/dsl-rules/no-module-scoped-let.d.ts.map +1 -0
  70. package/dist/dsl-rules/no-module-scoped-var.d.ts +4 -0
  71. package/dist/dsl-rules/no-module-scoped-var.d.ts.map +1 -0
  72. package/dist/dsl-rules/no-non-public-instance-fields.d.ts +4 -0
  73. package/dist/dsl-rules/no-non-public-instance-fields.d.ts.map +1 -0
  74. package/dist/extensibility-eslint-plugin-alpha.d.ts +49 -0
  75. package/dist/extensibility-eslint-plugin-beta.d.ts +49 -0
  76. package/dist/extensibility-eslint-plugin-billing.bill.discount_calculation-alpha.d.ts +11 -0
  77. package/dist/extensibility-eslint-plugin-billing.bill.discount_calculation-beta.d.ts +11 -0
  78. package/dist/extensibility-eslint-plugin-billing.bill.discount_calculation-internal.d.ts +11 -0
  79. package/dist/extensibility-eslint-plugin-billing.bill.discount_calculation-public.d.ts +11 -0
  80. package/dist/extensibility-eslint-plugin-billing.customer_balance_application-alpha.d.ts +11 -0
  81. package/dist/extensibility-eslint-plugin-billing.customer_balance_application-beta.d.ts +11 -0
  82. package/dist/extensibility-eslint-plugin-billing.customer_balance_application-internal.d.ts +11 -0
  83. package/dist/extensibility-eslint-plugin-billing.customer_balance_application-public.d.ts +11 -0
  84. package/dist/extensibility-eslint-plugin-billing.invoice_collection_setting-alpha.d.ts +11 -0
  85. package/dist/extensibility-eslint-plugin-billing.invoice_collection_setting-beta.d.ts +11 -0
  86. package/dist/extensibility-eslint-plugin-billing.invoice_collection_setting-internal.d.ts +11 -0
  87. package/dist/extensibility-eslint-plugin-billing.invoice_collection_setting-public.d.ts +11 -0
  88. package/dist/extensibility-eslint-plugin-billing.prorations-alpha.d.ts +10 -0
  89. package/dist/extensibility-eslint-plugin-billing.prorations-beta.d.ts +10 -0
  90. package/dist/extensibility-eslint-plugin-billing.prorations-internal.d.ts +10 -0
  91. package/dist/extensibility-eslint-plugin-billing.prorations-public.d.ts +10 -0
  92. package/dist/extensibility-eslint-plugin-billing.recurring_billing_item_handling-alpha.d.ts +11 -0
  93. package/dist/extensibility-eslint-plugin-billing.recurring_billing_item_handling-beta.d.ts +11 -0
  94. package/dist/extensibility-eslint-plugin-billing.recurring_billing_item_handling-internal.d.ts +11 -0
  95. package/dist/extensibility-eslint-plugin-billing.recurring_billing_item_handling-public.d.ts +11 -0
  96. package/dist/extensibility-eslint-plugin-core.workflows.custom_action-alpha.d.ts +11 -0
  97. package/dist/extensibility-eslint-plugin-core.workflows.custom_action-beta.d.ts +11 -0
  98. package/dist/extensibility-eslint-plugin-core.workflows.custom_action-internal.d.ts +11 -0
  99. package/dist/extensibility-eslint-plugin-core.workflows.custom_action-public.d.ts +11 -0
  100. package/dist/extensibility-eslint-plugin-custom-objects-alpha.d.ts +11 -0
  101. package/dist/extensibility-eslint-plugin-custom-objects-beta.d.ts +11 -0
  102. package/dist/extensibility-eslint-plugin-custom-objects-internal.d.ts +11 -0
  103. package/dist/extensibility-eslint-plugin-custom-objects-public.d.ts +11 -0
  104. package/dist/extensibility-eslint-plugin-extend.objects.custom_objects-alpha.d.ts +11 -0
  105. package/dist/extensibility-eslint-plugin-extend.objects.custom_objects-beta.d.ts +11 -0
  106. package/dist/extensibility-eslint-plugin-extend.objects.custom_objects-internal.d.ts +11 -0
  107. package/dist/extensibility-eslint-plugin-extend.objects.custom_objects-public.d.ts +11 -0
  108. package/dist/extensibility-eslint-plugin-extend.workflows.custom_action-alpha.d.ts +11 -0
  109. package/dist/extensibility-eslint-plugin-extend.workflows.custom_action-beta.d.ts +11 -0
  110. package/dist/extensibility-eslint-plugin-extend.workflows.custom_action-internal.d.ts +11 -0
  111. package/dist/extensibility-eslint-plugin-extend.workflows.custom_action-public.d.ts +11 -0
  112. package/dist/extensibility-eslint-plugin-internal.d.ts +80 -0
  113. package/dist/extensibility-eslint-plugin-public.d.ts +49 -0
  114. package/dist/extensibility-rules/index.d.ts +8 -0
  115. package/dist/extensibility-rules/index.d.ts.map +1 -0
  116. package/dist/extensibility-rules/no-custom-constructor.d.ts +4 -0
  117. package/dist/extensibility-rules/no-custom-constructor.d.ts.map +1 -0
  118. package/dist/extensibility-rules/no-extra-type-params.d.ts +4 -0
  119. package/dist/extensibility-rules/no-extra-type-params.d.ts.map +1 -0
  120. package/dist/extensibility-rules/no-public-instance-fields.d.ts +4 -0
  121. package/dist/extensibility-rules/no-public-instance-fields.d.ts.map +1 -0
  122. package/dist/extensibility-rules/prefer-es-private.d.ts +4 -0
  123. package/dist/extensibility-rules/prefer-es-private.d.ts.map +1 -0
  124. package/dist/extension-type-config.d.ts +13 -0
  125. package/dist/extension-type-config.d.ts.map +1 -0
  126. package/dist/index.cjs +37420 -0
  127. package/dist/index.d.ts +69 -0
  128. package/dist/index.d.ts.map +1 -0
  129. package/dist/index.js +37408 -0
  130. package/dist/internal/analysis/apps/manifest-tools.d.ts +26 -0
  131. package/dist/internal/analysis/apps/manifest-tools.d.ts.map +1 -0
  132. package/dist/internal/analysis/docs/comments.d.ts +23 -0
  133. package/dist/internal/analysis/docs/comments.d.ts.map +1 -0
  134. package/dist/internal/analysis/docs/decorators.d.ts +6 -0
  135. package/dist/internal/analysis/docs/decorators.d.ts.map +1 -0
  136. package/dist/internal/analysis/docs/release-tags.d.ts +5 -0
  137. package/dist/internal/analysis/docs/release-tags.d.ts.map +1 -0
  138. package/dist/internal/analysis/eslint/ast-like.d.ts +78 -0
  139. package/dist/internal/analysis/eslint/ast-like.d.ts.map +1 -0
  140. package/dist/internal/analysis/eslint/import-fixes.d.ts +29 -0
  141. package/dist/internal/analysis/eslint/import-fixes.d.ts.map +1 -0
  142. package/dist/internal/analysis/eslint/locations.d.ts +20 -0
  143. package/dist/internal/analysis/eslint/locations.d.ts.map +1 -0
  144. package/dist/internal/analysis/eslint/module-scope.d.ts +99 -0
  145. package/dist/internal/analysis/eslint/module-scope.d.ts.map +1 -0
  146. package/dist/internal/analysis/index.d.ts +14 -0
  147. package/dist/internal/analysis/index.d.ts.map +1 -0
  148. package/dist/internal/analysis/naming/api-name-validation.d.ts +55 -0
  149. package/dist/internal/analysis/naming/api-name-validation.d.ts.map +1 -0
  150. package/dist/internal/analysis/naming/api-name.d.ts +8 -0
  151. package/dist/internal/analysis/naming/api-name.d.ts.map +1 -0
  152. package/dist/internal/analysis/package-names.d.ts +5 -0
  153. package/dist/internal/analysis/package-names.d.ts.map +1 -0
  154. package/dist/internal/analysis/scoping/files.d.ts +14 -0
  155. package/dist/internal/analysis/scoping/files.d.ts.map +1 -0
  156. package/dist/internal/analysis/scoping/packages.d.ts +17 -0
  157. package/dist/internal/analysis/scoping/packages.d.ts.map +1 -0
  158. package/dist/internal/analysis/surfaces/api-name-targets.d.ts +10 -0
  159. package/dist/internal/analysis/surfaces/api-name-targets.d.ts.map +1 -0
  160. package/dist/internal/analysis/surfaces/class-declarations.d.ts +4 -0
  161. package/dist/internal/analysis/surfaces/class-declarations.d.ts.map +1 -0
  162. package/dist/internal/analysis/surfaces/class-targets.d.ts +27 -0
  163. package/dist/internal/analysis/surfaces/class-targets.d.ts.map +1 -0
  164. package/dist/internal/analysis/surfaces/custom-object.d.ts +11 -0
  165. package/dist/internal/analysis/surfaces/custom-object.d.ts.map +1 -0
  166. package/dist/internal/analysis/surfaces/extension.d.ts +5 -0
  167. package/dist/internal/analysis/surfaces/extension.d.ts.map +1 -0
  168. package/dist/internal/analysis/surfaces/members.d.ts +16 -0
  169. package/dist/internal/analysis/surfaces/members.d.ts.map +1 -0
  170. package/dist/internal/analysis/ts/program.d.ts +42 -0
  171. package/dist/internal/analysis/ts/program.d.ts.map +1 -0
  172. package/dist/internal/analysis/ts/symbols.d.ts +13 -0
  173. package/dist/internal/analysis/ts/symbols.d.ts.map +1 -0
  174. package/dist/internal/analysis/ts/types.d.ts +16 -0
  175. package/dist/internal/analysis/ts/types.d.ts.map +1 -0
  176. package/dist/internal/analysis/types.d.ts +70 -0
  177. package/dist/internal/analysis/types.d.ts.map +1 -0
  178. package/dist/internal/index.d.ts +2 -0
  179. package/dist/internal/index.d.ts.map +1 -0
  180. package/dist/naming-rules/index.d.ts +7 -0
  181. package/dist/naming-rules/index.d.ts.map +1 -0
  182. package/dist/naming-rules/valid-api-name.d.ts +4 -0
  183. package/dist/naming-rules/valid-api-name.d.ts.map +1 -0
  184. package/dist/rule-config.d.ts +30 -0
  185. package/dist/rule-config.d.ts.map +1 -0
  186. package/dist/security-rules/index.d.ts +14 -0
  187. package/dist/security-rules/index.d.ts.map +1 -0
  188. package/dist/security-rules/no-secrets.d.ts +9 -0
  189. package/dist/security-rules/no-secrets.d.ts.map +1 -0
  190. package/dist/security-rules/valid-endpoint-id.d.ts +4 -0
  191. package/dist/security-rules/valid-endpoint-id.d.ts.map +1 -0
  192. package/dist/security-rules/valid-extension-interface.d.ts +4 -0
  193. package/dist/security-rules/valid-extension-interface.d.ts.map +1 -0
  194. package/dist/tsconfig.build.tsbuildinfo +1 -0
  195. package/package.json +108 -0
@@ -0,0 +1,11 @@
1
+ import type { Linter } from 'eslint';
2
+
3
+ /**
4
+ * ESLint flat config for the `extend.workflows.custom_action` extension
5
+ * interface.
6
+ * @public
7
+ */
8
+ declare const config: Linter.Config[];
9
+ export default config;
10
+
11
+ export { }
@@ -0,0 +1,11 @@
1
+ import type { Linter } from 'eslint';
2
+
3
+ /**
4
+ * ESLint flat config for the `extend.workflows.custom_action` extension
5
+ * interface.
6
+ * @public
7
+ */
8
+ declare const config: Linter.Config[];
9
+ export default config;
10
+
11
+ export { }
@@ -0,0 +1,11 @@
1
+ import type { Linter } from 'eslint';
2
+
3
+ /**
4
+ * ESLint flat config for the `extend.workflows.custom_action` extension
5
+ * interface.
6
+ * @public
7
+ */
8
+ declare const config: Linter.Config[];
9
+ export default config;
10
+
11
+ export { }
@@ -0,0 +1,80 @@
1
+ /**
2
+ * `@stripe/extensibility-eslint-plugin`
3
+ *
4
+ * ESLint plugin and flat config for Stripe Apps development.
5
+ *
6
+ * @example
7
+ * ```javascript
8
+ * // eslint.config.mjs
9
+ * import stripeAppsConfig from '@stripe/extensibility-eslint-plugin';
10
+ *
11
+ * export default [
12
+ * ...stripeAppsConfig,
13
+ * // Your custom rules here
14
+ * ];
15
+ * ```
16
+ *
17
+ * @packageDocumentation
18
+ */
19
+
20
+ import type { ESLint } from 'eslint';
21
+ import type { Linter } from 'eslint';
22
+
23
+ /**
24
+ * Base ESLint flat config for Stripe Apps.
25
+ *
26
+ * Use this as the foundation for your ESLint configuration.
27
+ * Includes code quality, security, and FormSpec type-safety rules.
28
+ * Note: This config assumes you have typescript-eslint installed.
29
+ * @public
30
+ */
31
+ declare const config: Linter.Config[];
32
+ export default config;
33
+ export { config as stripeAppsConfig }
34
+
35
+ /**
36
+ * Canonical plugin name used for custom-object rules (e.g. `co/requires-custom-object-decorator`).
37
+ * @internal
38
+ */
39
+ export declare const _CUSTOM_OBJECT_PLUGIN_NAME = "co";
40
+
41
+ /**
42
+ * Custom object lint rules, registered under the `co` namespace.
43
+ * @internal
44
+ */
45
+ export declare const _customObjectRulesPlugin: ESLint.Plugin;
46
+
47
+ /**
48
+ * Custom eslint rule implementations provided by the extensibility plugin.
49
+ * @internal
50
+ */
51
+ export declare const _extensibilityRulesPlugin: ESLint.Plugin;
52
+
53
+ /**
54
+ * Canonical plugin name used in rule IDs (e.g. `@stripe/extensibility-eslint-plugin/no-secrets`).
55
+ * @internal
56
+ */
57
+ export declare const _PLUGIN_NAME = "@stripe/extensibility-eslint-plugin";
58
+
59
+ /**
60
+ * Recommended ESLint rules for Stripe Apps.
61
+ *
62
+ * These rules help ensure code quality and catch common mistakes
63
+ * when developing Stripe Apps.
64
+ * @internal
65
+ */
66
+ export declare const _recommendedRules: Linter.RulesRecord;
67
+
68
+ /**
69
+ * Required rules — security and safety checks that must always be enabled.
70
+ * @internal
71
+ */
72
+ export declare const _requiredRules: Linter.RulesRecord;
73
+
74
+ /**
75
+ * Stricter variant of recommendedRules.
76
+ * @internal
77
+ */
78
+ export declare const _strictRules: Linter.RulesRecord;
79
+
80
+ export { }
@@ -0,0 +1,49 @@
1
+ /**
2
+ * `@stripe/extensibility-eslint-plugin`
3
+ *
4
+ * ESLint plugin and flat config for Stripe Apps development.
5
+ *
6
+ * @example
7
+ * ```javascript
8
+ * // eslint.config.mjs
9
+ * import stripeAppsConfig from '@stripe/extensibility-eslint-plugin';
10
+ *
11
+ * export default [
12
+ * ...stripeAppsConfig,
13
+ * // Your custom rules here
14
+ * ];
15
+ * ```
16
+ *
17
+ * @packageDocumentation
18
+ */
19
+
20
+ import type { ESLint } from 'eslint';
21
+ import type { Linter } from 'eslint';
22
+
23
+ /**
24
+ * Base ESLint flat config for Stripe Apps.
25
+ *
26
+ * Use this as the foundation for your ESLint configuration.
27
+ * Includes code quality, security, and FormSpec type-safety rules.
28
+ * Note: This config assumes you have typescript-eslint installed.
29
+ * @public
30
+ */
31
+ declare const config: Linter.Config[];
32
+ export default config;
33
+ export { config as stripeAppsConfig }
34
+
35
+ /* Excluded from this release type: _CUSTOM_OBJECT_PLUGIN_NAME */
36
+
37
+ /* Excluded from this release type: _customObjectRulesPlugin */
38
+
39
+ /* Excluded from this release type: _extensibilityRulesPlugin */
40
+
41
+ /* Excluded from this release type: _PLUGIN_NAME */
42
+
43
+ /* Excluded from this release type: _recommendedRules */
44
+
45
+ /* Excluded from this release type: _requiredRules */
46
+
47
+ /* Excluded from this release type: _strictRules */
48
+
49
+ export { }
@@ -0,0 +1,8 @@
1
+ import type { Rule } from 'eslint';
2
+ /**
3
+ * Extensibility ESLint rules for Stripe Apps.
4
+ *
5
+ * @public
6
+ */
7
+ export declare const extensibilityRules: Record<string, Rule.RuleModule>;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/extensibility-rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAMnC;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,CAK9D,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { Rule } from 'eslint';
2
+ declare const rule: Rule.RuleModule;
3
+ export default rule;
4
+ //# sourceMappingURL=no-custom-constructor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-custom-constructor.d.ts","sourceRoot":"","sources":["../../src/extensibility-rules/no-custom-constructor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAsDnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,UA4DhB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { Rule } from 'eslint';
2
+ declare const rule: Rule.RuleModule;
3
+ export default rule;
4
+ //# sourceMappingURL=no-extra-type-params.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-extra-type-params.d.ts","sourceRoot":"","sources":["../../src/extensibility-rules/no-extra-type-params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAwEnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,UAqGhB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { Rule } from 'eslint';
2
+ declare const rule: Rule.RuleModule;
3
+ export default rule;
4
+ //# sourceMappingURL=no-public-instance-fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-public-instance-fields.d.ts","sourceRoot":"","sources":["../../src/extensibility-rules/no-public-instance-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAqEnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,UAoFhB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { Rule } from 'eslint';
2
+ declare const rule: Rule.RuleModule;
3
+ export default rule;
4
+ //# sourceMappingURL=prefer-es-private.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prefer-es-private.d.ts","sourceRoot":"","sources":["../../src/extensibility-rules/prefer-es-private.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AA6MnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,UAqEhB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { Linter } from 'eslint';
2
+ /** @internal */
3
+ export declare const EXTENSION_SOURCE_FILES: string[];
4
+ /**
5
+ * Create a package-local ESLint preset for a specific extension interface.
6
+ *
7
+ * These presets are intentionally small so we can curate interface-specific
8
+ * rules over time without forcing generated apps to rewrite their configs.
9
+ *
10
+ * @internal
11
+ */
12
+ export declare function createExtensionTypeConfig(extensionInterfaceId: string, baseConfigs?: Linter.Config[], config?: Omit<Linter.Config, 'name' | 'files'>): Linter.Config[];
13
+ //# sourceMappingURL=extension-type-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension-type-config.d.ts","sourceRoot":"","sources":["../src/extension-type-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,UAOlC,CAAC;AAaF;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CACvC,oBAAoB,EAAE,MAAM,EAC5B,WAAW,GAAE,MAAM,CAAC,MAAM,EAAO,EACjC,MAAM,GAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAM,GACjD,MAAM,CAAC,MAAM,EAAE,CAEjB"}