Skip to content

Commit

Permalink
Adding weight to categories
Browse files Browse the repository at this point in the history
  • Loading branch information
stevector committed Oct 11, 2017
1 parent 7711705 commit 8cda992
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lighthouse-core/config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ module.exports = {
},
'performance': {
name: 'Performance',
weight: 1,
description: 'These encapsulate your app\'s current performance and opportunities to improve it.',
audits: [
{id: 'first-meaningful-paint', weight: 5, group: 'perf-metric'},
Expand All @@ -247,6 +248,7 @@ module.exports = {
},
'accessibility': {
name: 'Accessibility',
weight: 1,
description: 'These checks highlight opportunities to [improve the accessibility of your app](https://developers.google.com/web/fundamentals/accessibility).',
audits: [
{id: 'accesskeys', weight: 1, group: 'a11y-correct-attributes'},
Expand Down Expand Up @@ -288,6 +290,7 @@ module.exports = {
},
'best-practices': {
name: 'Best Practices',
weight: 1,
description: 'We\'ve compiled some recommendations for modernizing your web app and avoiding performance pitfalls.',
audits: [
{id: 'appcache-manifest', weight: 1},
Expand Down

0 comments on commit 8cda992

Please sign in to comment.