| What it is | Run Prettier as an ESLint rule | Find and fix problems in your JavaScript code. | One fast toolchain that formats and lints JavaScript, TypeScript, JSON, CSS, HTML, GraphQL, YAML and Markdown. | Zero-config JavaScript and TypeScript linter built on ESLint |
| Features | - runs Prettier as the ESLint rule prettier/prettier
- reports formatting differences as ESLint issues, fixable with eslint --fix
- flat eslint.config.js and legacy .eslintrc configs
- Svelte support
| - pluggable rules
- auto-fix
- flat config
- custom parsers
- editor integrations
| - formatter for JS, TS, JSX, TSX, JSON, HTML, CSS, SCSS, GraphQL, YAML and Markdown
- 97% Prettier compatibility
- formats malformed code in the editor
- 816 lint rules from ESLint, TypeScript ESLint and other sources
- safe and unsafe fixes
- check command that formats and lints together
- zero configuration to start
- GritQL and JavaScript plugins
- All 12 features
| - 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
|