Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Fix TSLint Errors in Angular Generator #4012

Merged
merged 3 commits into from
May 18, 2018
Merged

Fix TSLint Errors in Angular Generator #4012

merged 3 commits into from
May 18, 2018

Conversation

zachgoll
Copy link
Contributor

@zachgoll zachgoll commented May 15, 2018

As a part of #3898, #3403, and #3136 which aim to build a test suite for the Angular application, this PR fixes all TSLint errors in the Angular template as a part of issue #4006. When running npm run lint, you will still receive errors, but only for the .spec.ts files, which will need to be tended to when tests are written.

This PR contains only syntactical modifications, and does not alter the logic or function of the code in any way.

A large part of the template code could have been fixed by smushing everything into one line when using EJS for loops, but for ease of future development and readability, I have kept these EJS template loops as they were, and included <%_ _%> EJS tags to remove white-space in the generated application.

zachgoll added 2 commits May 15, 2018 12:50
…home.component TSLint errors

Signed-off-by: Zach Gollwitzer <zach.gollwitzer@gmail.com>
…errors

Signed-off-by: Zach Gollwitzer <zach.gollwitzer@gmail.com>
@zachgoll zachgoll changed the title Ang generator 4006 Fix TSLint Errors in Angular Generator May 15, 2018
@mbwhite
Copy link
Contributor

mbwhite commented May 16, 2018

Have added @KaiUsher and/or @EllisHenderson for review

Copy link
Contributor

@EllisHenderson EllisHenderson left a comment

Choose a reason for hiding this comment

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

LGTM

@EllisHenderson EllisHenderson merged commit d88add5 into hyperledger-archives:master May 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants