-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Open
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
Scenario: As a user, I would like to optionally merge extended arrays in tsconfig
files. To do so, I would add a nested dot array ["..."]
reminding spread operator to the property I want to merge. Here is an example:
tsconfig-base.json
{ "exclude": ["**/__specs__/*"] }
tsconfig-custom.json
{ "extends": "./tsconfig-base.json", "exclude": [["...tsconfig-base"], "lib"] // resolved to ["**/__specs__/*"; "lib"] }
Alternative: using a config {}
object
tsconfig-custom.json
{ "extends": "./tsconfig-base.json", "exclude": [{ "extends": "tsconfig-base" }, "lib"] // resolved to ["**/__specs__/*"; "lib"] }
OliverJAsh, G-Rath, ccazacu, rskopal, elado and 102 more
Metadata
Metadata
Assignees
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript