In this section:
Parasoft supports the JavaScript and TypeScript languages by integrating with ESLint, an open-source tool that performs static analysis on JavaScript and TypeScript code and reports issues related to documentation, readability, and maintainability. Visit the ESLint website for additional information.
The Parasoft ESLint extension processes the result file output from your open-source static analysis tool, generates reports showing violations and severities for the code authors, and sends the data to Parasoft DTP. DTP presents the data in widgets, reports, and other interfaces that enable you to prioritize violations, place them into remediation workflows, and monitor progress toward improving the code quality.
--format checkstyle
setting). See the ESLint documentation for details.--ext .jsm,.js
setting). See the ESLint documentation for details.Execute the multilanguage-pack.bat or multilanguage-pack.sh script with the required parameters all on one line, e.g.:
multilanguage-pack.bat -tool ESLint -results.file "c:\sample\eslint-results.xml" -source.dir "C:\sample\sampleProjectFolder" |
Internal technical log files from the Multi-Language Pack execution are generated in the <INSTALL>/.mlp subdirectory.
The following settings are required.
This setting specifies the Parasoft extension to execute. Use -tool ESLint
to run the ESLint extension.
The path to the ESLint XML results file.
Specifies the path to the JavaScript/TypeScript source code. This is used to collect source control metadata (e.g., authorship, last updated, etc.) for DTP reporting and processing.