Skip to content

refactor(@schematics/angular): add trailing commas and remove leading…#31548

Merged
clydin merged 1 commit intoangular:mainfrom
MeAkib:refactor/schematics-add-trailing-commas-components
Oct 22, 2025
Merged

refactor(@schematics/angular): add trailing commas and remove leading…#31548
clydin merged 1 commit intoangular:mainfrom
MeAkib:refactor/schematics-add-trailing-commas-components

Conversation

@MeAkib
Copy link
Contributor

@MeAkib MeAkib commented Oct 21, 2025

… commas in component template

Added trailing commas to all component metadata properties in the schematic template to ensure cleaner diffs and consistent formatting. Removed unnecessary leading commas from conditional blocks since each property now ends with a trailing comma.

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

… commas in component template

Added trailing commas to all component metadata properties in the schematic template
to ensure cleaner diffs and consistent formatting. Removed unnecessary leading commas
from conditional blocks since each property now ends with a trailing comma.
@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Oct 22, 2025
@clydin clydin merged commit a660d69 into angular:main Oct 22, 2025
34 checks passed
@clydin
Copy link
Member

clydin commented Oct 22, 2025

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

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Nov 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @schematics/angular target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants