Skip to content

Conversation

@alan-agius4
Copy link
Collaborator

The config was added as JSON, as this is the preferred format over executable configuration.

'.prettierignore' was not added as the '.gitignore' rules are applied by default.

Closes #32216 and closes #32222

@alan-agius4 alan-agius4 requested a review from clydin January 27, 2026 07:23
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: minor This PR is targeted for the next minor release labels Jan 27, 2026
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Jan 27, 2026
@alan-agius4 alan-agius4 changed the title feat(schematics/angular): add a '.prettierrc' file to generated workspaces and add Prettier as dev dependency feat(@schematics/angular): add a '.prettierrc' file to generated workspaces and add Prettier as dev dependency Jan 27, 2026
…spaces and add Prettier as dev dependency

The config was added as JSON, as this is the preferred format over executable configuration.

'.prettierignore' was not added as the '.gitignore' rules are applied by default.

Closes angular#32216 and closes angular#32222
@robertIsaac
Copy link

finally 🎉
I'm thrilled to see this finally coming by default for Angular projects

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jan 27, 2026
@alan-agius4 alan-agius4 merged commit aa7381e into angular:main Jan 27, 2026
34 of 35 checks passed
@alan-agius4
Copy link
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

@alan-agius4 alan-agius4 deleted the prettier-config branch January 27, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @schematics/angular detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move Prettier config to it's on file according to best practices ask to install prettier when creating a new project

3 participants