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

deps: bump eslint and related items #13484

Merged
merged 6 commits into from
Dec 15, 2021
Merged

deps: bump eslint and related items #13484

merged 6 commits into from
Dec 15, 2021

Conversation

paulirish
Copy link
Member

the 4 commits each have a unique thing.

@paulirish paulirish requested a review from a team as a code owner December 10, 2021 22:23
@paulirish paulirish requested review from adamraine and removed request for a team December 10, 2021 22:23
"eslint-plugin-local-rules": "0.1.0",
"eslint": "^8.4.1",
"eslint-config-google": "^0.14.0",
"eslint-formatter-codeframe": "^7.32.1",
Copy link
Member

Choose a reason for hiding this comment

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

what does this do?

Copy link
Member Author

Choose a reason for hiding this comment

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

image

we have it configured so the codeframe formatter is used in CI so if it fails there we see exactly what the prob is in the logs.

i also prefer using it locally.

in latest eslint they extracted the formatter so its not shipped in the main pkg anymore.

Comment on lines 201 to 202
const serverResponseTimePercentage =
SERVER_RESPONSE_PERCENTAGE_OF_TTFB[record.resourceType] || DEFAULT_SERVER_RESPONSE_PERCENTAGE;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
const serverResponseTimePercentage =
SERVER_RESPONSE_PERCENTAGE_OF_TTFB[record.resourceType] || DEFAULT_SERVER_RESPONSE_PERCENTAGE;
const serverResponseTimePercentage =
SERVER_RESPONSE_PERCENTAGE_OF_TTFB[record.resourceType] || DEFAULT_SERVER_RESPONSE_PERCENTAGE;

Copy link
Member Author

Choose a reason for hiding this comment

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

heh yeah i had touched this one manually but doing that change goes over 100chars :)

anyway, just added another break after the || to sort it, along with those indents.

@paulirish paulirish changed the title bump eslint and related items deps: bump eslint and related items Dec 10, 2021
Copy link
Member

@adamraine adamraine left a comment

Choose a reason for hiding this comment

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

LGTM

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.

None yet

4 participants