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

Add linter check for fast google fonts #906

Merged
merged 2 commits into from
Aug 21, 2020

Conversation

tharders
Copy link
Collaborator

No description provided.

if (match) {
results.push(
this.warn(
`Use &display=swap|fallback|optional in font stylesheet url: ${href}`
Copy link
Collaborator

Choose a reason for hiding this comment

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

suggestion: s/font stylesheet url/Google Font stylesheet URL

meta() {
return {
url: "https://web.dev/font-display/",
title: "Use fast font display for Google Fonts",
Copy link
Collaborator

Choose a reason for hiding this comment

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

s/font display/font-display

@tharders tharders merged commit 33b1a4e into main Aug 21, 2020
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.

2 participants