Skip to content

Commit

Permalink
revert: loosen the lighthouse checks
Browse files Browse the repository at this point in the history
  • Loading branch information
apurv-wednesday committed Apr 30, 2024
1 parent 2374298 commit 97c049d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lighthouserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ module.exports = {
// },
},
assert: {
// Using loose settings for now. Should be tightened for production builds.
assertions: {
'first-contentful-paint': ['error', { maxNumericValue: 2500 }],
'categories:performance': ['error', { minScore: 0.95 }],
'categories:accessibility': ['error', { minScore: 0.95 }],
'categories:best-practices': ['error', { minScore: 0.95 }],
'categories:seo': ['error', { minScore: 0.95 }]
'first-contentful-paint': ['error', { maxNumericValue: 4000 }],
'categories:performance': ['error', { minScore: 0.90 }],
'categories:accessibility': ['error', { minScore: 0.90 }],
'categories:best-practices': ['error', { minScore: 0.90 }],
'categories:seo': ['error', { minScore: 0.90 }]
}
},
upload: {
Expand Down

0 comments on commit 97c049d

Please sign in to comment.