Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(angular): prevent invalid import recommendations #1815

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Conversation

sean-perkins
Copy link
Contributor

@sean-perkins sean-perkins commented Nov 7, 2023

This PR updates the module and starter templates for Angular to ship with a default VSCode setting that prevents importing from invalid locations.

For example, the base projects using modules will ignore import recommendations from @ionic/angular/standalone and @ionic/angular/common. Standalone projects will ignore import recommendations from @ionic/angular and @ionic/angular/common.

@sean-perkins sean-perkins requested a review from a team as a code owner November 7, 2023 03:37
@sean-perkins sean-perkins requested review from liamdebeasi and removed request for a team November 7, 2023 03:37
Copy link
Contributor

@liamdebeasi liamdebeasi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering if we should be placing this in tsconfig.json instead for other IDEs, but sounds like this is a VSCode-specific feature for now: microsoft/TypeScript#49578 (comment)

@sean-perkins sean-perkins merged commit 9027b54 into main Nov 9, 2023
30 checks passed
@sean-perkins sean-perkins deleted the sp/FW-5379 branch November 9, 2023 16:31
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