René's URL Explorer Experiment


Title: Configuration Inheritance · Issue #9876 · microsoft/TypeScript · GitHub

Open Graph Title: Configuration Inheritance · Issue #9876 · microsoft/TypeScript

X Title: Configuration Inheritance · Issue #9876 · microsoft/TypeScript

Description: Our friends from Angular (@angular) asked for this feature while they were visiting last week, since they use a lot of configuration files internally. Proposal Add a new top-level (alongside compilerOptions, files, includes, and excludes...

Open Graph Description: Our friends from Angular (@angular) asked for this feature while they were visiting last week, since they use a lot of configuration files internally. Proposal Add a new top-level (alongside compil...

X Description: Our friends from Angular (@angular) asked for this feature while they were visiting last week, since they use a lot of configuration files internally. Proposal Add a new top-level (alongside compil...

Mail addresses
notifications@github.com

Opengraph URL: https://github.com/microsoft/TypeScript/issues/9876

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Configuration Inheritance","articleBody":"Our friends from @angular asked for this feature while they were visiting last week, since they use a lot of configuration files internally.\n# Proposal\n\nAdd a new top-level (alongside compilerOptions, files, includes, and excludes) `tsconfig` parameter - `extends` (to steal the term from [`eslint`](http://eslint.org/docs/developer-guide/shareable-configs)).\n- Its value is a string or an array of strings which are interpreted as rooted or relative paths (so starting with either a drive root or `.` or `..`) from the current tsconfig to other tsconfigs to inherit from  - with or without a `.json` extension, if no extension is provided, we first look for an extensionless file by the name, and failing that, add a .json extension and look for that. \n- If we add recommended or built-in configs to inherit from in the future, those will look like a module identifier, rather than a path (ie, `\"typescript/strict\"`). For now, non-relative, non-rooted paths will be an error. At present, built-in or shareable configs are not part of this proposal.\n- All configs your config inherits from are first parsed and resolved (thereby filling in anything they inherit), and then merged. Configs later in the list override the configuration provided by those earlier in the list. Configuration in the active config can override those provided by an inheriting config. If a circularity is encountered, we report an error.\n- If any inherited configs we load have errors, we will report them.\n- Top-level members other than `compilerOptions` are completely overridden by following definitions. `compilerOptions` at the top level is merged (though its individual keys will still be overridden as though they were top-level keys).\n- Relative paths found in the configuration file will be resolved relative to the configuration file they originated in.\n# Examples\n\n`configs/base.json`:\n\n``` ts\n{\n  \"compilerOptions\": {\n    \"allowJs\": true,\n    \"noImplicitAny\": true,\n    \"strictNullChecks\": true\n  }\n}\n```\n\n`configs/tests.json`:\n\n``` ts\n{\n  \"compilerOptions\": {\n    \"preserveConstEnums\": true,\n    \"stripComments\": false,\n    \"sourceMaps\": true\n  },\n  \"exclude\": [\n    \"../tests/baselines\",\n    \"../tests/scenarios\"\n  ],\n  \"include\": [\n    \"../tests/**/*.ts\"\n  ]\n}\n```\n\n`tsconfig.json`:\n\n``` ts\n{\n  \"extends\": \"./configs/base\",\n  \"files\": [\n    \"main.ts\",\n    \"supplemental.ts\"\n  ]\n}\n```\n\n`tsconfig.nostrictnull.json`:\n\n``` ts\n{\n  \"extends\": \"./tsconfig\"\n  \"compilerOptions\": {\n    \"strictNullChecks\": false\n  }\n}\n```\n\n`tsconfig.tests.json`:\n\n``` ts\n{\n  \"extends\": [\"./configs/tests\", \"./tsconfig\"],\n  \"compilerOptions\": {\n    \"module\": \"commonjs\"\n  }\n}\n```\n\n`tsconfig.tests.browser.json`:\n\n``` ts\n{\n  \"extends\": [\"./configs/tests\", \"./tsconfig\"],\n  \"compilerOptions\": {\n    \"module\": \"amd\"\n  }\n}\n```\n\n@alexeagle @DanielRosenwasser Does this cover your usecases?\n","author":{"url":"https://github.com/weswigham","@type":"Person","name":"weswigham"},"datePublished":"2016-07-21T20:31:10Z","url":"https://github.com/microsoft/TypeScript/issues/9876"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6013eb29-01a7-80a1-cde7-973b0e1fa065
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA3AE:34CAB:3BA72B:4D7CEE:6B00D441
html-safe-nonce9b8ef5fe60d6a781f7c708f3768618367c9944a31aca361cc508fdba1e00e5f7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0FFOjM0Q0FCOjNCQTcyQjo0RDdDRUU6NkIwMEQ0NDEiLCJ2aXNpdG9yX2lkIjoiNjU2MTYzNzA4NzEyMzEzMzUwNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaccd1b3c6be72d4c4e6184f684229ec6be2cd2087723267a6de8f8cda6ecdb7204
hovercard-subject-tagissue:166910751
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/9876/issue_layout
twitter:imagehttps://opengraph.githubassets.com/58a23ccfc705b60d1498889c49e4cdc84d22226e4fbed1bc5d57c1883b66236b/microsoft/TypeScript/issues/9876
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/58a23ccfc705b60d1498889c49e4cdc84d22226e4fbed1bc5d57c1883b66236b/microsoft/TypeScript/issues/9876
og:image:altOur friends from Angular (@angular) asked for this feature while they were visiting last week, since they use a lot of configuration files internally. Proposal Add a new top-level (alongside compil...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameweswigham
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/9876#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F9876
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F9876
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/9876
Reloadhttps://github.com/microsoft/TypeScript/issues/9876
Reloadhttps://github.com/microsoft/TypeScript/issues/9876
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests307 (307)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/9876
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/9876
Configuration Inheritancehttps://github.com/microsoft/TypeScript/issues/9876#top
CommittedThe team has roadmapped this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
TypeScript 2.1https://github.com/microsoft/TypeScript/milestone/20
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issue-166910751
Angular (@angular)https://github.com/angular
eslinthttp://eslint.org/docs/developer-guide/shareable-configs
Alex Eagle (@alexeagle)https://github.com/alexeagle
Daniel Rosenwasser (@DanielRosenwasser)https://github.com/DanielRosenwasser
Nexthttps://github.com/microsoft/TypeScript/issues/9876?timeline_page=1
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234375526
Angular (@angular)https://github.com/angular
Dojo (@dojo)https://github.com/dojo
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234376602
Kitson Kelly (@kitsonk)https://github.com/kitsonk
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
In DiscussionNot yet reached consensushttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22In%20Discussion%22
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#event-730961752
https://github.com/alexeagle
Alex Eagle (alexeagle)https://github.com/alexeagle
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234381003
Igor Minar (@IgorMinar)https://github.com/IgorMinar
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234406628
Alex Eagle (@alexeagle)https://github.com/alexeagle
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234408439
https://github.com/alexeagle
Alex Eagle (alexeagle)https://github.com/alexeagle
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234409016
#9876 (comment)https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234408439
https://github.com/notifications/unsubscribe-auth/AAC5I98tT3BljBILqW3if1QgQHxljrYxks5qX_hrgaJpZM4JSL8Vhttps://github.com/notifications/unsubscribe-auth/AAC5I98tT3BljBILqW3if1QgQHxljrYxks5qX_hrgaJpZM4JSL8V
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234410078
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234411134
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234411853
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234412588
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234412716
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jul 21, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234417162
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/clavecoder
Kenneth Brubaker (clavecoder)https://github.com/clavecoder
on Jul 22, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-234540708
#9835https://github.com/microsoft/TypeScript/issues/9835
repohttps://github.com/latticework/jali
https://lernajs.io/https://lernajs.io/
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Breaking ChangeWould introduce errors in existing codehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22
on Sep 13, 2016https://github.com/microsoft/TypeScript/issues/9876#event-788234127
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 2.1https://github.com/microsoft/TypeScript/milestone/20
on Sep 13, 2016https://github.com/microsoft/TypeScript/issues/9876#event-788234169
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Breaking ChangeWould introduce errors in existing codehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Breaking%20Change%22
on Sep 13, 2016https://github.com/microsoft/TypeScript/issues/9876#event-788234392
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#9941https://github.com/microsoft/TypeScript/pull/9941
on Sep 13, 2016https://github.com/microsoft/TypeScript/issues/9876#event-788234819
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Sep 13, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-246831381
https://github.com/tomitrescak
Tomas Trescak (tomitrescak)https://github.com/tomitrescak
on Oct 4, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-251307894
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
on Oct 4, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-251308463
https://github.com/tomitrescak
Tomas Trescak (tomitrescak)https://github.com/tomitrescak
on Oct 4, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-251327715
https://github.com/kitsonk
Kitson Kelly (kitsonk)https://github.com/kitsonk
on Oct 4, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-251334302
https://github.com/tomitrescak
Tomas Trescak (tomitrescak)https://github.com/tomitrescak
on Oct 4, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-251519402
https://github.com/mhegazy
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
on Oct 4, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-251541320
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Oct 15, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-253963576
Aleksey-Bykovhttps://github.com/Aleksey-Bykov
https://github.com/aluanhaddad
Aluan Haddad (aluanhaddad)https://github.com/aluanhaddad
on Oct 16, 2016https://github.com/microsoft/TypeScript/issues/9876#issuecomment-254022944
Mohamed Hegazy (@mhegazy)https://github.com/mhegazy
https://github.com/evil-shrike
Sergei Dorogin (evil-shrike)https://github.com/evil-shrike
on Mar 24, 2017https://github.com/microsoft/TypeScript/issues/9876#issuecomment-288998346
microsofthttps://github.com/microsoft
on Jun 19, 2018https://github.com/microsoft/TypeScript/issues/9876#event-1689843365
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/9876
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/9876
CommittedThe team has roadmapped this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Committed%22
SuggestionAn idea for TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Suggestion%22
TypeScript 2.1https://github.com/microsoft/TypeScript/milestone/20
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.