Skip to content

Conversation

@felipeemarcon
Copy link

@felipeemarcon felipeemarcon commented Oct 1, 2019

As variáveis vars foram trocadas para let ou const dependendo do contexto.

Copy link
Contributor

@Thor99 Thor99 left a comment

Choose a reason for hiding this comment

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

MUITO obrigado pelo PR!!! Seguem algumas sugestões de estilo :D

let cents = exports.addTrailingZeros(
amount.substring(amount.length - 2, amount.length),
2
)
Copy link
Contributor

Choose a reason for hiding this comment

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

O que acha de quebrar uma linha entre essas declarações (cents e integers)?

Copy link
Author

Choose a reason for hiding this comment

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

Legal, @Thor99. Vou fazer isso. Obrigado!

Copy link
Author

@felipeemarcon felipeemarcon Oct 4, 2019

Choose a reason for hiding this comment

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

Atualizado! :D

const startDate = moment('1997-10-07').utc().format('YYYY-MM-DD')
const parsedDate = moment(date)
.utc()
.format('YYYY-MM-DD')
Copy link
Contributor

Choose a reason for hiding this comment

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

O que acha de quebrar uma linha entre essas declarações (parsedDate e startDate)?

Copy link
Author

@felipeemarcon felipeemarcon Oct 4, 2019

Choose a reason for hiding this comment

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

Atualizado! :D

alinemarjorie
alinemarjorie previously approved these changes Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants