Skip to content

Commit

Permalink
Merge pull request #1315 from forcedotcom/d/W-14784520
Browse files Browse the repository at this point in the history
CHANGE (PMD): @W-14784520@: pmd-appexchange excludes .md and .app files.
  • Loading branch information
jfeingold35 authored Jan 9, 2024
2 parents 177e7f8 + 3bdb44d commit 5047815
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/util/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,19 @@ export type EngineConfigContent = {

/**
* An array of file extensions that can theoretically correspond to XML files when scanning a Salesforce Managed Package.
* NOTE: {@code .app} and {@code .md} technically belong on this list, but are being omitted since they're popular
* file extensions in their own right and are likely to just cause parse errors.
*/
const APPEXCHANGE_XML_EXTENSIONS = [
"app", "authprovider", "bot", "brandingSet", "cachePartition", "callCenter", "communityTemplateDefinition",
"authprovider", "bot", "brandingSet", "cachePartition", "callCenter", "communityTemplateDefinition",
"communityThemeDefinition", "connectedApp", "ConversationVendorInformation", "corsWhitelistOrigin",
"cspTrustedSite", "customHelpMenuSection", "customPermission", "dashboard", "dataConnectorIngestApi",
"dataPackageKitDefinition", "DataPackageKitObject", "dataSource", "dataSourceBundleDefinition",
"dataSourceObject", "dataSrcDataModelFieldMap", "dataStreamDefinition", "dataStreamTemplate",
"duplicateRule", "externalDataConnector", "featureParameterBoolean", "featureParameterInteger",
"flexipage", "flow", "globalValueSet", "globalValueSetTranslation", "homePageComponent",
"homePageLayout", "indx", "labels", "layout", "letter", "lightningBolt", "lightningExperienceTheme",
"marketingappextension", "matchingRule", "md", "messageChannel", "mktDataTranObject", "mlDomain",
"marketingappextension", "matchingRule", "messageChannel", "mktDataTranObject", "mlDomain",
"namedCredential", "navigationMenu", "notiftype", "object", "objectSourceTargetMap", "objectTranslation",
"pathAssistant", "permissionset", "permissionsetgroup", "profile", "prompt", "quickAction", "remoteSite",
"report", "reportType", "sharingSet", "snapshot", "tab", "translation", "wapp", "wds", "weblink", "workflow",
Expand Down

0 comments on commit 5047815

Please sign in to comment.