@stripe/extensibility-eslint-plugin 0.15.5 → 0.15.6

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 (44) hide show
  1. package/README.md +34 -0
  2. package/dist/api-surface.d.ts.map +1 -0
  3. package/dist/tsconfig.build.tsbuildinfo +1 -1
  4. package/package.json +3 -3
  5. package/dist/extensibility-eslint-plugin-alpha.d.ts +0 -49
  6. package/dist/extensibility-eslint-plugin-beta.d.ts +0 -49
  7. package/dist/extensibility-eslint-plugin-billing.bill.discount_calculation-alpha.d.ts +0 -11
  8. package/dist/extensibility-eslint-plugin-billing.bill.discount_calculation-beta.d.ts +0 -11
  9. package/dist/extensibility-eslint-plugin-billing.bill.discount_calculation-internal.d.ts +0 -11
  10. package/dist/extensibility-eslint-plugin-billing.bill.discount_calculation-public.d.ts +0 -11
  11. package/dist/extensibility-eslint-plugin-billing.customer_balance_application-alpha.d.ts +0 -11
  12. package/dist/extensibility-eslint-plugin-billing.customer_balance_application-beta.d.ts +0 -11
  13. package/dist/extensibility-eslint-plugin-billing.customer_balance_application-internal.d.ts +0 -11
  14. package/dist/extensibility-eslint-plugin-billing.customer_balance_application-public.d.ts +0 -11
  15. package/dist/extensibility-eslint-plugin-billing.invoice_collection_setting-alpha.d.ts +0 -11
  16. package/dist/extensibility-eslint-plugin-billing.invoice_collection_setting-beta.d.ts +0 -11
  17. package/dist/extensibility-eslint-plugin-billing.invoice_collection_setting-internal.d.ts +0 -11
  18. package/dist/extensibility-eslint-plugin-billing.invoice_collection_setting-public.d.ts +0 -11
  19. package/dist/extensibility-eslint-plugin-billing.prorations-alpha.d.ts +0 -10
  20. package/dist/extensibility-eslint-plugin-billing.prorations-beta.d.ts +0 -10
  21. package/dist/extensibility-eslint-plugin-billing.prorations-internal.d.ts +0 -10
  22. package/dist/extensibility-eslint-plugin-billing.prorations-public.d.ts +0 -10
  23. package/dist/extensibility-eslint-plugin-billing.recurring_billing_item_handling-alpha.d.ts +0 -11
  24. package/dist/extensibility-eslint-plugin-billing.recurring_billing_item_handling-beta.d.ts +0 -11
  25. package/dist/extensibility-eslint-plugin-billing.recurring_billing_item_handling-internal.d.ts +0 -11
  26. package/dist/extensibility-eslint-plugin-billing.recurring_billing_item_handling-public.d.ts +0 -11
  27. package/dist/extensibility-eslint-plugin-core.workflows.custom_action-alpha.d.ts +0 -11
  28. package/dist/extensibility-eslint-plugin-core.workflows.custom_action-beta.d.ts +0 -11
  29. package/dist/extensibility-eslint-plugin-core.workflows.custom_action-internal.d.ts +0 -11
  30. package/dist/extensibility-eslint-plugin-core.workflows.custom_action-public.d.ts +0 -11
  31. package/dist/extensibility-eslint-plugin-custom-objects-alpha.d.ts +0 -11
  32. package/dist/extensibility-eslint-plugin-custom-objects-beta.d.ts +0 -11
  33. package/dist/extensibility-eslint-plugin-custom-objects-internal.d.ts +0 -11
  34. package/dist/extensibility-eslint-plugin-custom-objects-public.d.ts +0 -11
  35. package/dist/extensibility-eslint-plugin-extend.objects.custom_objects-alpha.d.ts +0 -11
  36. package/dist/extensibility-eslint-plugin-extend.objects.custom_objects-beta.d.ts +0 -11
  37. package/dist/extensibility-eslint-plugin-extend.objects.custom_objects-internal.d.ts +0 -11
  38. package/dist/extensibility-eslint-plugin-extend.objects.custom_objects-public.d.ts +0 -11
  39. package/dist/extensibility-eslint-plugin-extend.workflows.custom_action-alpha.d.ts +0 -11
  40. package/dist/extensibility-eslint-plugin-extend.workflows.custom_action-beta.d.ts +0 -11
  41. package/dist/extensibility-eslint-plugin-extend.workflows.custom_action-internal.d.ts +0 -11
  42. package/dist/extensibility-eslint-plugin-extend.workflows.custom_action-public.d.ts +0 -11
  43. package/dist/extensibility-eslint-plugin-internal.d.ts +0 -80
  44. package/dist/extensibility-eslint-plugin-public.d.ts +0 -49
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stripe/extensibility-eslint-plugin",
3
- "version": "0.15.5",
3
+ "version": "0.15.6",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -70,12 +70,12 @@
70
70
  "eslint-plugin-no-secrets": "^2.2.1",
71
71
  "eslint-plugin-security": "^3.0.1",
72
72
  "yaml": "^2.8.3",
73
- "@stripe/extensibility-jsonschema-tools": "0.6.5"
73
+ "@stripe/extensibility-jsonschema-tools": "0.6.6"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/estree": "^1.0.8",
77
77
  "typescript-eslint": "^8.57.0",
78
- "@stripe/extensibility-sdk": "0.22.4"
78
+ "@stripe/extensibility-sdk": "0.23.0"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "eslint": "^9.0.0",
@@ -1,49 +0,0 @@
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 { }
@@ -1,49 +0,0 @@
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 { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.bill.discount_calculation` extension
5
- * interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.bill.discount_calculation` extension
5
- * interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.bill.discount_calculation` extension
5
- * interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.bill.discount_calculation` extension
5
- * interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.customer_balance_application`
5
- * extension interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.customer_balance_application`
5
- * extension interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.customer_balance_application`
5
- * extension interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.customer_balance_application`
5
- * extension interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.invoice_collection_setting`
5
- * extension interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.invoice_collection_setting`
5
- * extension interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.invoice_collection_setting`
5
- * extension interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.invoice_collection_setting`
5
- * extension interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,10 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.prorations` extension interface.
5
- * @public
6
- */
7
- declare const config: Linter.Config[];
8
- export default config;
9
-
10
- export { }
@@ -1,10 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.prorations` extension interface.
5
- * @public
6
- */
7
- declare const config: Linter.Config[];
8
- export default config;
9
-
10
- export { }
@@ -1,10 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.prorations` extension interface.
5
- * @public
6
- */
7
- declare const config: Linter.Config[];
8
- export default config;
9
-
10
- export { }
@@ -1,10 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `billing.prorations` extension interface.
5
- * @public
6
- */
7
- declare const config: Linter.Config[];
8
- export default config;
9
-
10
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the
5
- * `billing.recurring_billing_item_handling` extension interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the
5
- * `billing.recurring_billing_item_handling` extension interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the
5
- * `billing.recurring_billing_item_handling` extension interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the
5
- * `billing.recurring_billing_item_handling` extension interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `core.workflows.custom_action` extension
5
- * interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `core.workflows.custom_action` extension
5
- * interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `core.workflows.custom_action` extension
5
- * interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `core.workflows.custom_action` extension
5
- * interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * Shared ESLint flat config for custom object packages.
5
- * This is a superset of the async-with-egress profile.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * Shared ESLint flat config for custom object packages.
5
- * This is a superset of the async-with-egress profile.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * Shared ESLint flat config for custom object packages.
5
- * This is a superset of the async-with-egress profile.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * Shared ESLint flat config for custom object packages.
5
- * This is a superset of the async-with-egress profile.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `extend.objects.custom_objects` extension
5
- * interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `extend.objects.custom_objects` extension
5
- * interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `extend.objects.custom_objects` extension
5
- * interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
1
- import type { Linter } from 'eslint';
2
-
3
- /**
4
- * ESLint flat config for the `extend.objects.custom_objects` extension
5
- * interface.
6
- * @public
7
- */
8
- declare const config: Linter.Config[];
9
- export default config;
10
-
11
- export { }
@@ -1,11 +0,0 @@
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 { }
@@ -1,11 +0,0 @@
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 { }
@@ -1,11 +0,0 @@
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 { }
@@ -1,11 +0,0 @@
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 { }
@@ -1,80 +0,0 @@
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 { }