| What it is | Checks Java source code against configurable coding-standard rules | Detect and fix coding standard violations in PHP | Extra PHP_CodeSniffer sniffs for safer, cleaner and consistently formatted PHP | Zero-config JavaScript and TypeScript linter built on ESLint |
| Features | - Checks naming, imports, Javadoc, formatting, whitespace, class design, size and coding practices
- Ready-made configurations for Google's, Sun's and OpenJDK's Java styles
- Runs from the command line and as an Ant task
- XPath-based suppression and filters
- Extensible with custom checks, filters and listeners
| - phpcs detects coding standard violations
- phpcbf fixes them automatically
- built-in standards and custom rulesets
- project configuration files
- signed PHAR downloads and Composer
| - functional sniffs that improve code safety and behaviour
- cleaning sniffs that detect dead code
- formatting sniffs for consistent code style
- automatic fixing for many sniffs
- local suppression of sniff checks
| - zero-config ESLint with strict defaults
- TypeScript supported by default
- lints JS, TS, HTML, Markdown, JSON and CSS
- bundled unicorn, import-x, ava and n plugins
- cached runs and --fix
- Prettier compatibility option
|