Skip to content

tsconfig: Add minLength validation to path in project reference#5873

Merged
hyperupcall merged 2 commits into
SchemaStore:masterfrom
HolgerJeromin:patch-1
Jul 7, 2026
Merged

tsconfig: Add minLength validation to path in project reference#5873
hyperupcall merged 2 commits into
SchemaStore:masterfrom
HolgerJeromin:patch-1

Conversation

@HolgerJeromin

@HolgerJeromin HolgerJeromin commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

An empty string works in ts6, but will not in ts7 aka tsgo.
(and is quite a bad idea even in older versions)

ref microsoft/typescript-go#4484

An empty string works in ts6, but will not in ts7.

ref microsoft/typescript-go#4484
@HolgerJeromin HolgerJeromin changed the title Add minLength validation to path in project reference tsconfig: Add minLength validation to path in project reference Jul 1, 2026
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

@hyperupcall

Copy link
Copy Markdown
Member

Thanks, should this be added to JSConfig as well?

@HolgerJeromin

Copy link
Copy Markdown
Contributor Author

Thanks, should this be added to JSConfig as well?

Good point.
I have no experience with references with jsconfig.json files, but the entry is there, so I added it.

@hyperupcall

Copy link
Copy Markdown
Member

Great thanks

@hyperupcall hyperupcall merged commit afd1bdb into SchemaStore:master Jul 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants