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

proto: update import hooks, obey line length #9595

Merged
merged 1 commit into from
Aug 22, 2019
Merged

Conversation

exterkamp
Copy link
Member

Summary
There are new, more strict proto linters now. These hooks allow us to import easier. And enforce the 80 char limit on our file here.

import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
import "google/protobuf/wrappers.proto";

// This comment required for LightRider import compatibility
// This comment required for LightRider import compatibility # suffix
Copy link
Member

Choose a reason for hiding this comment

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

i don't even

@brendankenny brendankenny changed the title proto(importing): update hooks, enforce line length proto: update import hooks, obey line length Aug 22, 2019
Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

And enforce the 80 char limit on our file here.

what has g3 done to you my friend?! I'm not sure I can even bring myself to say this looks good to me 😆

@@ -142,7 +144,8 @@ message LighthouseResult {
// nullable list of strings
google.protobuf.Value only_categories = 3;

// How Lighthouse was run, e.g. from the Chrome extension or from the npm module
// How Lighthouse was run, e.g. from the Chrome extension or from the npm
// module
Copy link
Collaborator

Choose a reason for hiding this comment

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

...

@connorjclark
Copy link
Collaborator

@@ -154,8 +157,8 @@ message LighthouseResult {

// Message containing the performance timing data for the Lighthouse run
message Timing {

// Corresponds to: https://www.w3.org/TR/performance-timeline-2/#dom-performanceentry
// Corresponds to:
Copy link
Collaborator

Choose a reason for hiding this comment

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

heavy heavy heavy sigh

@paulirish paulirish merged commit fea14d6 into master Aug 22, 2019
@paulirish paulirish deleted the protoImportChanges branch August 22, 2019 23:34
paulirish pushed a commit that referenced this pull request Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants