Prettier vs ESLint: source lines of code compared
As of 2026-08-14, prettier/prettier contains 100,303 total lines (51,056 code) across 842 files, while eslint/eslint contains 123,794 total lines (71,689 code) across 472 files as of 2026-08-14. eslint/eslint is about 1.4x the size of prettier/prettier by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | prettier/prettier | eslint/eslint |
|---|
| Files | 842 | 472 |
| Total lines | 100,303 | 123,794 |
| Code lines | 51,056 | 71,689 |
| Comment lines | 32,650 | 38,504 |
| Blank lines | 16,597 | 13,601 |
| Languages counted | 12 | 5 |
Top languages in prettier/prettier: JavaScript (87.0% of code), TypeScript (5.3% of code), JSX (3.3% of code). Top languages in eslint/eslint: JavaScript (94.9% of code), TypeScript (4.2% of code), JSON (0.9% of code). JavaScript, TypeScript, JSON appear in both top language lists; JSX, CSS appear only in prettier/prettier's top languages; Shell, Markdown appear only in eslint/eslint's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. prettier/prettier was counted at ref main (commit 414e453ae903) on 2026-08-14; eslint/eslint was counted at ref main (commit dc1e7a841693) on 2026-08-14. See the counting methodology for ignored directories and analysis options.
Evidence and next steps:
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.