Skip to content

Commit 3a8eabf

Browse files
connorjclarkpaulirish
authored andcommitted
docs: update stale references to audits (#9760)
1 parent ec9d7df commit 3a8eabf

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

docs/configuration.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ module.exports = {
1515
settings: {
1616
onlyAudits: [
1717
'first-meaningful-paint',
18-
'speed-index-metric',
19-
'estimated-input-latency',
20-
'first-interactive',
21-
'consistently-interactive',
18+
'speed-index',
19+
'first-cpu-idle',
20+
'interactive',
2221
],
2322
},
2423
};
@@ -129,7 +128,7 @@ The audits property controls which audits to run and include with your Lighthous
129128
{
130129
audits: [
131130
'first-meaningful-paint',
132-
'first-interactive',
131+
'first-cpu-idle',
133132
'byte-efficiency/uses-optimized-images',
134133
]
135134
}
@@ -151,8 +150,8 @@ The categories property controls how to score and organize the audit results in
151150
description: 'This category judges your performance',
152151
auditRefs: [
153152
{id: 'first-meaningful-paint', weight: 2, group: 'metrics'},
154-
{id: 'first-interactive', weight: 3, group: 'metrics'},
155-
{id: 'consistently-interactive', weight: 5, group: 'metrics'},
153+
{id: 'first-cpu-idle', weight: 3, group: 'metrics'},
154+
{id: 'interactive', weight: 5, group: 'metrics'},
156155
],
157156
}
158157
}

docs/readme.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,9 @@ In order to extend the Lighthouse configuration programmatically, you need to pa
9292
settings: {
9393
onlyAudits: [
9494
'first-meaningful-paint',
95-
'speed-index-metric',
96-
'estimated-input-latency',
97-
'first-interactive',
98-
'consistently-interactive',
95+
'speed-index',
96+
'first-cpu-idle',
97+
'interactive',
9998
],
10099
},
101100
}

0 commit comments

Comments
 (0)