Skip to content

fix(@schematics/angular): remove indentation in component html #14817

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

Merged
merged 1 commit into from
Jun 19, 2019
Merged

fix(@schematics/angular): remove indentation in component html #14817

merged 1 commit into from
Jun 19, 2019

Conversation

SamanthaAdrichem
Copy link
Contributor

@SamanthaAdrichem SamanthaAdrichem commented Jun 18, 2019

Most editors remember the indentation, even if you remove all code. This way, there is no
indentation thus there is nothing for the editor to remember and there will be no need for
a HTML lint fix.

Fixes #14816

Copy link
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

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

LGTM, can you kindly change the commit msg to

fix(@schematics/angular): remove indentation in component html

Most editors remember the indentation, even if you remove all code. This way, there is no
indentation thus there is nothing for the editor to remember and there will be no need for
a HTML lint fix.

Fixes #14816

Thank you

@SamanthaAdrichem SamanthaAdrichem changed the title #14816 feat(@angular/cli): change component HTML template indentation feat(@angular/cli): change component HTML template indentation Jun 18, 2019
Most editors remember the indentation, even if you remove all code. This way, there is no
indentation thus there is nothing for the editor to remember and there will be no need for
a HTML lint fix.

Fixes #14816
@SamanthaAdrichem
Copy link
Contributor Author

I don't understand why the unit test fails. The unit test does nothing with the HTML file. And it worked before i changed the commit message.

https://circleci.com/gh/angular/angular-cli/65211

I haven't changed anything else.

Any suggestions?

@alan-agius4
Copy link
Collaborator

@SamanthaAdrichem, it's a flake.

I'll restart the CI step

@alan-agius4 alan-agius4 added the target: patch This PR is targeted for the next patch release label Jun 18, 2019
@alan-agius4 alan-agius4 changed the title feat(@angular/cli): change component HTML template indentation fix(@schematics/angular): remove indentation in component html Jun 18, 2019
@alan-agius4
Copy link
Collaborator

Thanks for your contribution @SamanthaAdrichem :)

@mgechev mgechev merged commit 8352f1e into angular:master Jun 19, 2019
@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 Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Html file without indentation
4 participants