{"record":{"id":"a0e859cf36d7a43f","repo":"GoogleChrome/lighthouse","slug":"pluginname-has-unrecognized-objectname-proper","errorCode":null,"errorMessage":"${pluginName} has unrecognized ${objectName}properties: [${keys}]","messagePattern":"(.+?) has unrecognized (.+?)properties: \\[(.+?)\\]","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"core/config/config-plugin.js","lineNumber":59,"sourceCode":"  return arr.every(objectIsGatherMode);\n}\n\n/**\n * Asserts that obj has no own properties, throwing a nice error message if it does.\n * Plugin and object name are included for nicer logging.\n * @param {Record<string, unknown>} obj\n * @param {string} pluginName\n * @param {string=} objectName\n */\nfunction assertNoExcessProperties(obj, pluginName, objectName = '') {\n  if (objectName) {\n    objectName += ' ';\n  }\n\n  const invalidKeys = Object.keys(obj);\n  if (invalidKeys.length > 0) {\n    const keys = invalidKeys.join(', ');\n    throw new Error(`${pluginName} has unrecognized ${objectName}properties: [${keys}]`);\n  }\n}\n\n/**\n * A set of methods for extracting and validating a Lighthouse plugin config.\n */\nclass ConfigPlugin {\n  /**\n   * Extract and validate the list of AuditDefns added by the plugin (or undefined\n   * if no additional audits are being added by the plugin).\n   * @param {unknown} auditsJson\n   * @param {string} pluginName\n   * @return {Array<{path: string}>|undefined}\n   */\n  static _parseAuditsList(auditsJson, pluginName) {\n    // Plugin audits aren't required (relying on LH default audits) so fall back to [].\n    if (auditsJson === undefined) {\n      return undefined;","sourceCodeStart":41,"sourceCodeEnd":77,"githubUrl":"https://github.com/GoogleChrome/lighthouse/blob/9515cd4e58ebed69f78742d932b501c2cab8ad8f/core/config/config-plugin.js#L41-L77","documentation":"Error \"${pluginName} has unrecognized ${objectName}properties: [${keys}]\" thrown in GoogleChrome/lighthouse.","triggerScenarios":"Thrown when a plugin object contains properties Lighthouse does not recognize.","commonSituations":"See trigger scenarios.","solutions":["Remove the unrecognized properties from the plugin object.","Check the plugin documentation for the list of supported properties (audits, category, groups, supportedModes)."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9515cd4e58ebed69f78742d932b501c2cab8ad8f","analyzedAt":"2026-08-13T06:28:10.346Z","schemaVersion":2},"datasetVersion":"2026-08-13T09:17:06.757Z"}