Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(config): explicitly include plugins in settings object #11726

Closed
wants to merge 1 commit into from

Conversation

jburger424
Copy link
Contributor

As this document is referenced by LHCI, explicitly include plugins as a supported setting to ensure LHCI users are aware that plugins are supported.

CC: @patrickhulce

As this document is referenced by LHCI, explicitly include `plugins` as a supported setting to ensure users are aware that it is supported.
@jburger424 jburger424 requested a review from a team as a code owner November 30, 2020 18:57
@jburger424 jburger424 requested review from patrickhulce and removed request for a team November 30, 2020 18:57
@google-cla google-cla bot added the cla: yes label Nov 30, 2020
@jburger424 jburger424 changed the title docs(config): Explicitly include plugins in settings object. docs(config): explicitly include plugins in settings object Nov 30, 2020
@@ -81,6 +81,7 @@ For full list see [our config settings typedef](https://github.com/GoogleChrome/
| onlyCategories | `string[]` | Includes only the specified categories in the final report. Additive with `onlyAudits` and reduces the time to audit a page. |
| onlyAudits | `string[]` | Includes only the specified audits in the final report. Additive with `onlyCategories` and reduces the time to audit a page. |
| skipAudits | `string[]` | Excludes the specified audits from the final report. Takes priority over `onlyCategories`, not usable in conjuction with `onlyAudits`, and reduces the time to audit a page. |
| plugins | `string[]` | Includes the specified plugins and corresponding audits in the report, this is additive with all above options. Refer to [plugin documentation](https://github.com/GoogleChrome/lighthouse/blob/master/docs/plugins.md) for detailed plugin information.|
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't plugins belong at the root of the config, not nested within settings? this section is nested under settings

maybe there's some extra work to do to make that clearer, but could just move this out to be at the correct level for now instead :)

@patrickhulce
Copy link
Collaborator

Oooooh I see the LHCI section you're talking about, yeah that's kinda tricky because the LHCI settings is a shortcut for the CLI flags which are 99% the same as config settings but share a few differences. :/

Hm, maybe we address this better on the LHCI side in addition to adding it at the toplevel here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants