summaryrefslogtreecommitdiff
path: root/packages/cli/src/config/settings.ts
diff options
context:
space:
mode:
authorJerop Kipruto <[email protected]>2025-06-23 20:29:31 -0400
committerGitHub <[email protected]>2025-06-24 00:29:31 +0000
commitaca034fdfec0ec29bdb47c5feaa4eafd6e68fac7 (patch)
tree137496d8b1d3394e6ceeb7ccdd8e06ccdef301e8 /packages/cli/src/config/settings.ts
parentb3741f7016a6b32ebdc5a9b5203191fc04910d3a (diff)
Refactor usage statistics to be a top-level setting (#1363)
This commit refactors the `usageStatisticsEnabled` setting from a sub-property of the `telemetry` configuration to a top-level setting. This change simplifies the configuration by decoupling usage statistics from the telemetry settings. The documentation has also been updated to reflect this change.
Diffstat (limited to 'packages/cli/src/config/settings.ts')
-rw-r--r--packages/cli/src/config/settings.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/cli/src/config/settings.ts b/packages/cli/src/config/settings.ts
index b149216a..882df403 100644
--- a/packages/cli/src/config/settings.ts
+++ b/packages/cli/src/config/settings.ts
@@ -49,6 +49,7 @@ export interface Settings {
contextFileName?: string | string[];
accessibility?: AccessibilitySettings;
telemetry?: TelemetrySettings;
+ usageStatisticsEnabled?: boolean;
preferredEditor?: string;
bugCommand?: BugCommandSettings;
checkpointing?: CheckpointingSettings;