Skip to content

Commit

Permalink
Modify assertions in lighthouse config
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallku committed Feb 26, 2024
1 parent 1cd18e4 commit 6e78db1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/blog/lighthouserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
}
},
"assert": {
"preset": "lighthouse:recommended",
"assertions": {
"categories:performance": ["warn", { "minScore": 0.95 }],
"categories:accessibility": ["error", { "minScore": 0.9 }]
"categories:performance": ["error", { "minScore": 0.95 }],
"categories:accessibility": ["error", { "minScore": 0.9 }],
"categories:best-practices": ["error", { "minScore": 1 }],
"categories:seo": ["error", { "minScore": 1 }]
}
},
"upload": {
Expand Down

0 comments on commit 6e78db1

Please sign in to comment.