Skip to content

Commit aebcee6

Browse files
committed
remove redundant import
1 parent c9dd8ce commit aebcee6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

scopes/toolbox/json/jsonc-utils/jsonc-utils.docs.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ labels: ['typescript', 'utils', 'json', 'jsonc', 'formatting', 'comments', 'pars
33
description: 'Utilities for parsing and stringifying JSONC files while preserving formatting and comments.'
44
---
55

6-
import { Tabs, TabList, TabPanels, Tab, TabPanel } from '@teambit/design.ui.surfaces.tabs';
7-
86
# JSONC Utils
97

108
Utilities for working with JSONC (JSON with Comments) files while preserving their original formatting, including:
@@ -62,15 +60,15 @@ async function updateEnvDependency(
6260
newVersion: string
6361
) {
6462
const content = await fs.readFile(envJsoncPath, 'utf-8');
65-
63+
6664
const updated = updateJsoncPreservingFormatting(content, (envJsonc) => {
6765
const dep = envJsonc.policy?.runtime?.find((d) => d.name === pkgName);
6866
if (dep) {
6967
dep.version = newVersion;
7068
}
7169
return envJsonc;
7270
});
73-
71+
7472
await fs.writeFile(envJsoncPath, updated);
7573
}
7674
```
@@ -166,4 +164,4 @@ Instead, you get:
166164
- ✅ Clean, minimal diffs showing only actual changes
167165
- ✅ Preserved comments and documentation
168166
- ✅ Respect for team and individual preferences
169-
- ✅ Better collaboration
167+
- ✅ Better collaboration

0 commit comments

Comments
 (0)