Skip to content

Commit

Permalink
docs: update stale references to audits (#9760)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark authored Oct 4, 2019
1 parent 06d28e3 commit 05c91f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
13 changes: 6 additions & 7 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ module.exports = {
settings: {
onlyAudits: [
'first-meaningful-paint',
'speed-index-metric',
'estimated-input-latency',
'first-interactive',
'consistently-interactive',
'speed-index',
'first-cpu-idle',
'interactive',
],
},
};
Expand Down Expand Up @@ -129,7 +128,7 @@ The audits property controls which audits to run and include with your Lighthous
{
audits: [
'first-meaningful-paint',
'first-interactive',
'first-cpu-idle',
'byte-efficiency/uses-optimized-images',
]
}
Expand All @@ -151,8 +150,8 @@ The categories property controls how to score and organize the audit results in
description: 'This category judges your performance',
auditRefs: [
{id: 'first-meaningful-paint', weight: 2, group: 'metrics'},
{id: 'first-interactive', weight: 3, group: 'metrics'},
{id: 'consistently-interactive', weight: 5, group: 'metrics'},
{id: 'first-cpu-idle', weight: 3, group: 'metrics'},
{id: 'interactive', weight: 5, group: 'metrics'},
],
}
}
Expand Down
7 changes: 3 additions & 4 deletions docs/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,9 @@ In order to extend the Lighthouse configuration programmatically, you need to pa
settings: {
onlyAudits: [
'first-meaningful-paint',
'speed-index-metric',
'estimated-input-latency',
'first-interactive',
'consistently-interactive',
'speed-index',
'first-cpu-idle',
'interactive',
],
},
}
Expand Down

0 comments on commit 05c91f0

Please sign in to comment.