@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.
- package/LICENSE.md +19 -0
- package/dist/configs/async-with-egress.cjs +8228 -0
- package/dist/configs/async-with-egress.d.ts +8 -0
- package/dist/configs/async-with-egress.d.ts.map +1 -0
- package/dist/configs/async-with-egress.js +8197 -0
- package/dist/configs/billing.bill.discount_calculation.cjs +8245 -0
- package/dist/configs/billing.bill.discount_calculation.d.ts +9 -0
- package/dist/configs/billing.bill.discount_calculation.d.ts.map +1 -0
- package/dist/configs/billing.bill.discount_calculation.js +8214 -0
- package/dist/configs/billing.customer_balance_application.cjs +8245 -0
- package/dist/configs/billing.customer_balance_application.d.ts +9 -0
- package/dist/configs/billing.customer_balance_application.d.ts.map +1 -0
- package/dist/configs/billing.customer_balance_application.js +8214 -0
- package/dist/configs/billing.invoice_collection_setting.cjs +8245 -0
- package/dist/configs/billing.invoice_collection_setting.d.ts +9 -0
- package/dist/configs/billing.invoice_collection_setting.d.ts.map +1 -0
- package/dist/configs/billing.invoice_collection_setting.js +8214 -0
- package/dist/configs/billing.prorations.cjs +8245 -0
- package/dist/configs/billing.prorations.d.ts +8 -0
- package/dist/configs/billing.prorations.d.ts.map +1 -0
- package/dist/configs/billing.prorations.js +8214 -0
- package/dist/configs/billing.recurring_billing_item_handling.cjs +8245 -0
- package/dist/configs/billing.recurring_billing_item_handling.d.ts +9 -0
- package/dist/configs/billing.recurring_billing_item_handling.d.ts.map +1 -0
- package/dist/configs/billing.recurring_billing_item_handling.js +8214 -0
- package/dist/configs/core.workflows.custom_action.cjs +8245 -0
- package/dist/configs/core.workflows.custom_action.d.ts +9 -0
- package/dist/configs/core.workflows.custom_action.d.ts.map +1 -0
- package/dist/configs/core.workflows.custom_action.js +8214 -0
- package/dist/configs/custom-objects.cjs +8238 -0
- package/dist/configs/custom-objects.d.ts +9 -0
- package/dist/configs/custom-objects.d.ts.map +1 -0
- package/dist/configs/custom-objects.js +8207 -0
- package/dist/configs/extend.objects.custom_objects.cjs +8245 -0
- package/dist/configs/extend.objects.custom_objects.d.ts +9 -0
- package/dist/configs/extend.objects.custom_objects.d.ts.map +1 -0
- package/dist/configs/extend.objects.custom_objects.js +8214 -0
- package/dist/configs/extend.workflows.custom_action.cjs +8245 -0
- package/dist/configs/extend.workflows.custom_action.d.ts +9 -0
- package/dist/configs/extend.workflows.custom_action.d.ts.map +1 -0
- package/dist/configs/extend.workflows.custom_action.js +8214 -0
- package/dist/configs/runtime-core.cjs +8218 -0
- package/dist/configs/runtime-core.d.ts +8 -0
- package/dist/configs/runtime-core.d.ts.map +1 -0
- package/dist/configs/runtime-core.js +8187 -0
- package/dist/configs/sync-no-egress.cjs +8228 -0
- package/dist/configs/sync-no-egress.d.ts +8 -0
- package/dist/configs/sync-no-egress.d.ts.map +1 -0
- package/dist/configs/sync-no-egress.js +8197 -0
- package/dist/custom-object-rules/action-must-be-async.d.ts +4 -0
- package/dist/custom-object-rules/action-must-be-async.d.ts.map +1 -0
- package/dist/custom-object-rules/display-property-tags.d.ts +4 -0
- package/dist/custom-object-rules/display-property-tags.d.ts.map +1 -0
- package/dist/custom-object-rules/index.d.ts +8 -0
- package/dist/custom-object-rules/index.d.ts.map +1 -0
- package/dist/custom-object-rules/intermediate-must-be-abstract.d.ts +4 -0
- package/dist/custom-object-rules/intermediate-must-be-abstract.d.ts.map +1 -0
- package/dist/custom-object-rules/no-internal-action.d.ts +4 -0
- package/dist/custom-object-rules/no-internal-action.d.ts.map +1 -0
- package/dist/custom-object-rules/one-object-per-file.d.ts +4 -0
- package/dist/custom-object-rules/one-object-per-file.d.ts.map +1 -0
- package/dist/custom-object-rules/requires-base-object.d.ts +4 -0
- package/dist/custom-object-rules/requires-base-object.d.ts.map +1 -0
- package/dist/custom-object-rules/requires-custom-object-decorator.d.ts +4 -0
- package/dist/custom-object-rules/requires-custom-object-decorator.d.ts.map +1 -0
- package/dist/dsl-rules/index.d.ts +10 -0
- package/dist/dsl-rules/index.d.ts.map +1 -0
- package/dist/dsl-rules/no-module-scoped-let.d.ts +4 -0
- package/dist/dsl-rules/no-module-scoped-let.d.ts.map +1 -0
- package/dist/dsl-rules/no-module-scoped-var.d.ts +4 -0
- package/dist/dsl-rules/no-module-scoped-var.d.ts.map +1 -0
- package/dist/dsl-rules/no-non-public-instance-fields.d.ts +4 -0
- package/dist/dsl-rules/no-non-public-instance-fields.d.ts.map +1 -0
- package/dist/extensibility-eslint-plugin-alpha.d.ts +49 -0
- package/dist/extensibility-eslint-plugin-beta.d.ts +49 -0
- package/dist/extensibility-eslint-plugin-billing.bill.discount_calculation-alpha.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.bill.discount_calculation-beta.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.bill.discount_calculation-internal.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.bill.discount_calculation-public.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.customer_balance_application-alpha.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.customer_balance_application-beta.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.customer_balance_application-internal.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.customer_balance_application-public.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.invoice_collection_setting-alpha.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.invoice_collection_setting-beta.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.invoice_collection_setting-internal.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.invoice_collection_setting-public.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.prorations-alpha.d.ts +10 -0
- package/dist/extensibility-eslint-plugin-billing.prorations-beta.d.ts +10 -0
- package/dist/extensibility-eslint-plugin-billing.prorations-internal.d.ts +10 -0
- package/dist/extensibility-eslint-plugin-billing.prorations-public.d.ts +10 -0
- package/dist/extensibility-eslint-plugin-billing.recurring_billing_item_handling-alpha.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.recurring_billing_item_handling-beta.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.recurring_billing_item_handling-internal.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-billing.recurring_billing_item_handling-public.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-core.workflows.custom_action-alpha.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-core.workflows.custom_action-beta.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-core.workflows.custom_action-internal.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-core.workflows.custom_action-public.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-custom-objects-alpha.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-custom-objects-beta.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-custom-objects-internal.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-custom-objects-public.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-extend.objects.custom_objects-alpha.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-extend.objects.custom_objects-beta.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-extend.objects.custom_objects-internal.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-extend.objects.custom_objects-public.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-extend.workflows.custom_action-alpha.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-extend.workflows.custom_action-beta.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-extend.workflows.custom_action-internal.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-extend.workflows.custom_action-public.d.ts +11 -0
- package/dist/extensibility-eslint-plugin-internal.d.ts +80 -0
- package/dist/extensibility-eslint-plugin-public.d.ts +49 -0
- package/dist/extensibility-rules/index.d.ts +8 -0
- package/dist/extensibility-rules/index.d.ts.map +1 -0
- package/dist/extensibility-rules/no-custom-constructor.d.ts +4 -0
- package/dist/extensibility-rules/no-custom-constructor.d.ts.map +1 -0
- package/dist/extensibility-rules/no-extra-type-params.d.ts +4 -0
- package/dist/extensibility-rules/no-extra-type-params.d.ts.map +1 -0
- package/dist/extensibility-rules/no-public-instance-fields.d.ts +4 -0
- package/dist/extensibility-rules/no-public-instance-fields.d.ts.map +1 -0
- package/dist/extensibility-rules/prefer-es-private.d.ts +4 -0
- package/dist/extensibility-rules/prefer-es-private.d.ts.map +1 -0
- package/dist/extension-type-config.d.ts +13 -0
- package/dist/extension-type-config.d.ts.map +1 -0
- package/dist/index.cjs +37420 -0
- package/dist/index.d.ts +69 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +37408 -0
- package/dist/internal/analysis/apps/manifest-tools.d.ts +26 -0
- package/dist/internal/analysis/apps/manifest-tools.d.ts.map +1 -0
- package/dist/internal/analysis/docs/comments.d.ts +23 -0
- package/dist/internal/analysis/docs/comments.d.ts.map +1 -0
- package/dist/internal/analysis/docs/decorators.d.ts +6 -0
- package/dist/internal/analysis/docs/decorators.d.ts.map +1 -0
- package/dist/internal/analysis/docs/release-tags.d.ts +5 -0
- package/dist/internal/analysis/docs/release-tags.d.ts.map +1 -0
- package/dist/internal/analysis/eslint/ast-like.d.ts +78 -0
- package/dist/internal/analysis/eslint/ast-like.d.ts.map +1 -0
- package/dist/internal/analysis/eslint/import-fixes.d.ts +29 -0
- package/dist/internal/analysis/eslint/import-fixes.d.ts.map +1 -0
- package/dist/internal/analysis/eslint/locations.d.ts +20 -0
- package/dist/internal/analysis/eslint/locations.d.ts.map +1 -0
- package/dist/internal/analysis/eslint/module-scope.d.ts +99 -0
- package/dist/internal/analysis/eslint/module-scope.d.ts.map +1 -0
- package/dist/internal/analysis/index.d.ts +14 -0
- package/dist/internal/analysis/index.d.ts.map +1 -0
- package/dist/internal/analysis/naming/api-name-validation.d.ts +55 -0
- package/dist/internal/analysis/naming/api-name-validation.d.ts.map +1 -0
- package/dist/internal/analysis/naming/api-name.d.ts +8 -0
- package/dist/internal/analysis/naming/api-name.d.ts.map +1 -0
- package/dist/internal/analysis/package-names.d.ts +5 -0
- package/dist/internal/analysis/package-names.d.ts.map +1 -0
- package/dist/internal/analysis/scoping/files.d.ts +14 -0
- package/dist/internal/analysis/scoping/files.d.ts.map +1 -0
- package/dist/internal/analysis/scoping/packages.d.ts +17 -0
- package/dist/internal/analysis/scoping/packages.d.ts.map +1 -0
- package/dist/internal/analysis/surfaces/api-name-targets.d.ts +10 -0
- package/dist/internal/analysis/surfaces/api-name-targets.d.ts.map +1 -0
- package/dist/internal/analysis/surfaces/class-declarations.d.ts +4 -0
- package/dist/internal/analysis/surfaces/class-declarations.d.ts.map +1 -0
- package/dist/internal/analysis/surfaces/class-targets.d.ts +27 -0
- package/dist/internal/analysis/surfaces/class-targets.d.ts.map +1 -0
- package/dist/internal/analysis/surfaces/custom-object.d.ts +11 -0
- package/dist/internal/analysis/surfaces/custom-object.d.ts.map +1 -0
- package/dist/internal/analysis/surfaces/extension.d.ts +5 -0
- package/dist/internal/analysis/surfaces/extension.d.ts.map +1 -0
- package/dist/internal/analysis/surfaces/members.d.ts +16 -0
- package/dist/internal/analysis/surfaces/members.d.ts.map +1 -0
- package/dist/internal/analysis/ts/program.d.ts +42 -0
- package/dist/internal/analysis/ts/program.d.ts.map +1 -0
- package/dist/internal/analysis/ts/symbols.d.ts +13 -0
- package/dist/internal/analysis/ts/symbols.d.ts.map +1 -0
- package/dist/internal/analysis/ts/types.d.ts +16 -0
- package/dist/internal/analysis/ts/types.d.ts.map +1 -0
- package/dist/internal/analysis/types.d.ts +70 -0
- package/dist/internal/analysis/types.d.ts.map +1 -0
- package/dist/internal/index.d.ts +2 -0
- package/dist/internal/index.d.ts.map +1 -0
- package/dist/naming-rules/index.d.ts +7 -0
- package/dist/naming-rules/index.d.ts.map +1 -0
- package/dist/naming-rules/valid-api-name.d.ts +4 -0
- package/dist/naming-rules/valid-api-name.d.ts.map +1 -0
- package/dist/rule-config.d.ts +30 -0
- package/dist/rule-config.d.ts.map +1 -0
- package/dist/security-rules/index.d.ts +14 -0
- package/dist/security-rules/index.d.ts.map +1 -0
- package/dist/security-rules/no-secrets.d.ts +9 -0
- package/dist/security-rules/no-secrets.d.ts.map +1 -0
- package/dist/security-rules/valid-endpoint-id.d.ts +4 -0
- package/dist/security-rules/valid-endpoint-id.d.ts.map +1 -0
- package/dist/security-rules/valid-extension-interface.d.ts +4 -0
- package/dist/security-rules/valid-extension-interface.d.ts.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +108 -0
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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"}
|