
ESLint
5.8#28 in lintersFree planFree planAPIExtensionSelf-hosted
Visit
| Fact | ESLint | PMD |
|---|---|---|
| Purpose | ESLint statically analyzes JavaScript code to find and fix problems. | PMD is an extensible cross-language static code analyzer that finds common programming flaws. |
| Security reporting | Security vulnerabilities should be reported through GitHub's create-an-advisory form. | PMD directs security issue reports to its SECURITY.md policy. |
ESLint suits JavaScript developers who want configurable code checks in an editor, command line, or build workflow. It may also fit teams using supported plugins for TypeScript, React, Angular, Markdown, and other ecosystems.
PMD suits developers and teams who want static checks across supported languages, custom rules, and duplicate-code detection. It can fit command-line, build-tool, and CI workflows, provided the required Java version is available.