Skip to content

Commit 338c2bf

Browse files
committed
rename setting removeOrMarkGlobalLibCompletions.action -> globalLibCompletions.action no user action needed
1 parent 2e31ec2 commit 338c2bf

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/configurationType.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,10 @@ export type Configuration = {
7474
'removeUselessFunctionProps.enable': boolean
7575
/**
7676
* Of course it makes no sense to use `remove`, but `mark` might be really useful
77+
* @recommended mark
7778
* @default disable
7879
*/
79-
'removeOrMarkGlobalLibCompletions.action': 'disable' | 'mark' | 'remove'
80+
'globalLibCompletions.action': 'disable' | 'mark' | 'remove'
8081
/**
8182
* Useful for Number types.
8283
* Patch `toString()`: Removes arg tabstop

src/migrateSettings.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ export default () => {
2424
mustBePrimitive: false,
2525
},
2626
},
27+
{
28+
rename: {
29+
old: 'removeOrMarkGlobalLibCompletions.action',
30+
new: 'globalLibCompletions.action',
31+
mustBePrimitive: false,
32+
},
33+
},
2734
],
2835
process.env.IDS_PREFIX!,
2936
)

0 commit comments

Comments
 (0)