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

Improve resiliency to auto-formatting in libs, modules #48448

Merged

Conversation

pugnascotia
Copy link
Contributor

Make a number of changes so that code in the libs and modules directories are more resilient to automatic formatting. This covers:

  • Format cipher lists vertically, instead of horizontally
  • Remove string concatenation where JSON fits on a single line
  • Move some comments around to they aren't auto-formatted to a strange
    place

Make a number of changes so that code in the `libs` and `modules`
directories are more resilient to automatic formatting. This covers:

* Format cipher lists vertically, instead of horizontally
* Remove string concatenation where JSON fits on a single line
* Move some comments around to they aren't auto-formatted to a strange
  place
@pugnascotia pugnascotia added :Core/Infra/Core Core issues without another label v8.0.0 v7.6.0 labels Oct 24, 2019
@pugnascotia pugnascotia requested a review from rjernst October 24, 2019 09:41
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (:Core/Infra/Core)

Copy link
Contributor

@alpar-t alpar-t left a comment

Choose a reason for hiding this comment

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

LGTM

@pugnascotia pugnascotia merged commit cbfd612 into elastic:master Oct 29, 2019
@pugnascotia pugnascotia deleted the formatting-fixes-libs-modules branch October 29, 2019 09:38
pugnascotia added a commit to pugnascotia/elasticsearch that referenced this pull request Oct 29, 2019
Make a number of changes so that code in the `libs` and `modules`
directories are more resilient to automatic formatting. This covers:

* Remove string concatenation where JSON fits on a single line
* Move some comments around to they aren't auto-formatted to a strange
  place
pugnascotia added a commit that referenced this pull request Oct 29, 2019
Backport of #48448. Make a number of changes so that code in the libs and
modules directories are more resilient to automatic formatting. This covers:

* Remove string concatenation where JSON fits on a single line
* Move some comments around to they aren't auto-formatted to a strange
  place
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants