Skip to content
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

Update format configuration for prettier #561

Merged
merged 1 commit into from
Aug 15, 2018
Merged

Conversation

lcampos
Copy link
Contributor

@lcampos lcampos commented Aug 14, 2018

What does this PR do?

Updates the version of prettier to 1.6.0 to address reformat diffs.

What issues does this PR fix or reference?

@@ -0,0 +1,5 @@
{
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding this config file so we can leverage the same options on the scripts & code editors

@lcampos
Copy link
Contributor Author

lcampos commented Aug 15, 2018

I'm thinking I'll have to make this change in release branch as well to avoid any weird merges with the publishing process.

@codecov
Copy link

codecov bot commented Aug 15, 2018

Codecov Report

Merging #561 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #561   +/-   ##
========================================
  Coverage    73.37%   73.37%           
========================================
  Files          149      149           
  Lines         5837     5837           
  Branches       917      917           
========================================
  Hits          4283     4283           
  Misses        1328     1328           
  Partials       226      226

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4163364...21fcaf8. Read the comment docs.

@@ -7,7 +7,7 @@
"husky": "0.14.3",
"istanbul": "1.1.0-alpha.1",
"lerna": "2.4.0",
"prettier": "1.14.2",
"prettier": "1.6.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

@lcampos - How come we had to downgrade prettier?

I thought you wanted the newer version to be able to use it with yaml?

Copy link
Contributor

Choose a reason for hiding this comment

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

NVM. I saw your explanation on Slack:

@nchen it looks like the newest version of prettier (1.14.2) does not wrap lines the same way version 1.6.0 used to. I'll revert to the previous version (1.6.0) since we want to keep the current format of our files

@vazexqi
Copy link
Contributor

vazexqi commented Aug 15, 2018

I'm thinking I'll have to make this change in release branch as well to avoid any weird merges with the publishing process.

@lcampos - I think you're right. You want to do this in both the release and also the develop branch so that everything is in sync.

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.

None yet

2 participants