# prettier/prettier SLOC report

> As of 2026-09-21 (commit 51ed2cbbf3b4), prettier/prettier contains 101,586 total lines: 51,752 code, 33,022 comments, 16,812 blank, across 876 files in 13 languages (top: JavaScript 87.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

prettier/prettier has 51,752 source lines of code out of 101,586 total lines across 876 files, counted from the main ref at commit 51ed2cbbf3b4 by the OctoCounts tokei engine on 2026-09-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving prettier/prettier to commit 51ed2cbbf3b4, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 50.9% of all lines, comments represent 32.5%, and the repository averages 59 code lines per file. JavaScript accounts for 87.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 647 | 58,869 | 45,112 | 7,029 | 6,728 |
| TypeScript | 8 | 3,625 | 2,707 | 493 | 425 |
| JSX | 11 | 1,914 | 1,689 | 49 | 176 |
| JSON | 15 | 954 | 953 | 0 | 1 |
| CSS | 4 | 829 | 688 | 9 | 132 |
| YAML | 4 | 452 | 440 | 0 | 12 |
| SVG | 58 | 60 | 60 | 0 | 0 |
| HTML | 3 | 68 | 59 | 2 | 7 |
| Vue | 4 | 26 | 20 | 0 | 6 |
| Shell | 1 | 25 | 18 | 1 | 6 |
| TOML | 1 | 7 | 6 | 0 | 1 |
| MDX | 1 | 23 | 0 | 14 | 9 |

Top language (JavaScript 87.2%). Generated at 2026-09-21T09:04:57.983213375+00:00. Canonical report: https://octocounts.com/github/prettier/prettier

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/prettier/prettier/commit/51ed2cbbf3b404267653fc2f3576f990030de33d?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does prettier/prettier have?

prettier/prettier has 101,586 total lines, including 51,752 code lines, 33,022 comment lines, and 16,812 blank lines.

### How was the prettier/prettier line count measured?

OctoCounts resolved the public GitHub repository to commit 51ed2cbbf3b4, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for prettier/prettier?

This OctoCounts report was generated from main at commit 51ed2cbbf3b4 on 2026-09-21T09:04:57.983213375+00:00.

## Similar repository reports

- [viliusle/miniPaint](https://octocounts.com/github/viliusle/miniPaint) — JavaScript, 52,211 code lines
- [gildas-lormeau/SingleFile](https://octocounts.com/github/gildas-lormeau/SingleFile) — JavaScript, 52,422 code lines
- [aa2246740/dsh-better-display](https://octocounts.com/github/aa2246740/dsh-better-display) — JavaScript, 50,780 code lines
- [GreaterWMS/GreaterWMS-APP](https://octocounts.com/github/GreaterWMS/GreaterWMS-APP) — JavaScript, 52,738 code lines
- [tractorjuice/arc-kit](https://octocounts.com/github/tractorjuice/arc-kit) — JavaScript, 50,575 code lines
- [uniplore/one-api](https://octocounts.com/github/uniplore/one-api) — JavaScript, 52,956 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [React vs Vue](https://octocounts.com/compare/react-vs-vue)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
