The Wayback Machine - https://web.archive.org/web/20260321093032/https://github.com/angular/components/pull/23497
Skip to content

build: setup prettier in repository#23497

Closed
devversion wants to merge 3 commits intoangular:masterfrom
devversion:build/enable-prettier
Closed

build: setup prettier in repository#23497
devversion wants to merge 3 commits intoangular:masterfrom
devversion:build/enable-prettier

Conversation

@devversion
Copy link
Member

See individual commits

@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Aug 31, 2021
@devversion devversion force-pushed the build/enable-prettier branch from 3fa9f51 to 80ab4a2 Compare August 31, 2021 11:47
Sets up prettier in the `yarn ng-dev format` command so
that we can format the code consistently.
Reformats all tracked files with prettier so that formatting
is consistent across the repo.
Whenever a commit is being created, the `yarn ng-dev format changed`
command is being executed. This means that the formatter does not
need to be run manually.
@devversion devversion force-pushed the build/enable-prettier branch from 80ab4a2 to 7b2825c Compare August 31, 2021 12:58
@devversion devversion requested a review from a team August 31, 2021 18:13
Copy link
Contributor

@Splaktar Splaktar left a comment

Choose a reason for hiding this comment

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

LGTM

If we run into some instances where we see conflicting rules, https://github.com/prettier/tslint-config-prettier can help with this.

@jelbourn
Copy link
Contributor

jelbourn commented Oct 8, 2021

Closing since this is merge conflict city and we can just regenerate a fresh PR whenever we're ready to merge it right away

@jelbourn jelbourn closed this Oct 8, 2021
@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 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes PR author has agreed to Google's Contributor License Agreement

4 participants