JS files facing issue in sonarqube scan

sonarqube-9.9.3
Sonarqube scanner 2.13.1 is used

sonarqube is deployed on EC2 instance

I am trying to scan JS files some are passing but getting below error

for other how to fix this

Task :sonarqube

Failed to parse file [Setup/Archive_MissingXmlFiles/Range.TopRunnerLinks.Delete.js] at line 77: Unexpected token, expected “(” (77:6) Failed to parse file [JS-Business Rules/Workflows/WF_CR_VALIDATION.majorUpdate.js] at line 70: Unexpected token, expected “(” (70:12) Failed to parse file [Setup/Archive_MissingXmlFiles/PIM_WF_TARGET_EXPORT.prepareExportConfig.js] at line 41: Unexpected token, expected “(” (41:8) Failed to parse file [JS-Business Rules/Workflows/WF_LOCAL_PUBLISH.checkOnStart.js] at line 96: Unexpected token, expected “(” (96:8) Failed to parse file [JS-Business Rules/Workflows/WF_CR_CONTRIB.initialSwitch.js] at line 43: Unexpected token, expected “(” (43:8) Failed to parse file [JS-Business Rules/Workflows/WF_RNG_MOD_VALIDATE_LOCAL.initialSwitch.js] at line 23: Unexpected token, expected “(” (23:10)

Failed to parse file [JS-Business Rules/Buttons/Scope.Delete.js] at line 29: Unexpected token, expected “(” (29:16) Failed to parse file [JS-Business Rules/Buttons/CR.sendToUpdLifecycleDataScreen.js] at line 61: Unexpected token, expected “(” (61:20) Failed to parse file [JS-Business Rules/Workflows/WF_WEBECATALOG_VALIDATION.majorUpdate.js] at line 24: Unexpected token, expected “(” (24:8)

Hey there.

Can you share one of these files that fails to parse?