Skip to content

Control Flow Migration: Formatting issues #53017

Closed

Description

@jessicajaniuk

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

No

Description

A few issues with the formatting in the control flow migration:

  1. Don't need to format files that weren't modified
  2. single line <h1> and other header tags cause an indent after their line
  3. EOF new line is removed as part of the format
  4. New line at top of template is removed for inline templates
  5. sometimes comments at the head of files are duplicated

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

No response

Anything else?

No response

Activity

  1. added
    area: migrations
    core: control flow
    on Nov 17, 2023
  2. added this to the needsTriage milestone on Nov 17, 2023
  3. added a commit that references this issue on Nov 20, 2023
    acfafec
  4. added a commit that references this issue on Nov 20, 2023
    0fad36e
  5. angular-automatic-lock-bot commented on Dec 21, 2023

    @angular-automatic-lock-bot

    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.

  6. locked and limited conversation to collaborators on Dec 21, 2023
  7. added a commit that references this issue on Jan 23, 2024
    391cced
  8. added 2 commits that reference this issue on Jan 26, 2024
    e090b48
    080721c
  9. added a commit that references this issue on Jan 26, 2024
    567d367
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: migrationscore: control flowstate: has PR

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions