tidy is a port. Almost none of the hard thinking in it is original, and all of it is someone else's work under a license that allowed the port.
The authoritative list is docs/credits.md in the repository, which names versions and copyright holders.
MIT
- Prettier 3.9.9 — the document printer; the HTML, Glimmer, PostCSS, JSON, YAML and GraphQL printers; comment attachment; and the tables of languages and event attributes. © James Long and contributors.
- Bun — the Rust ports that tidy's HTML, Handlebars, CSS and JavaScript modules start from, and the string width tables. © Oven-sh.
- oxc —
oxc_formatter: the JavaScript and TypeScript printer, its JSDoc formatting, and oxfmt's import sorting, through Bun's port. © VoidZero Inc. and contributors. - Biome — the formatter
oxc_formatterports, and its intermediate representation and printer. © Biome Developers and contributors, and Rome Tools, Inc. - angular-html-parser 10.12.0 — the HTML lexer, tree builder, tag definitions and entity names. © Ika and Google LLC.
- yaml-unist-parser 3.2.0 — the tree Prettier prints YAML from, and its comment attachment. © Ika.
- PostCSS and its scss, less, value, selector and media-query parsers — the style sheet parsers Prettier uses. © Andrey Sitnik and contributors.
- Handlebars, simple-html-tokenizer and @glimmer/syntax — the Handlebars lexer and grammar, the HTML tokenizer, and Glimmer's tree builder. © Yehuda Katz, Tilde, Inc., and contributors.
- taplo 0.14.0 — the TOML lexer, parser and formatter. © Ferenc Tamás.
- @prettier/plugin-xml 3.4.2 — the XML printer. © Kevin Newton.
- prettier-plugin-ini 1.3.0 — the INI parser and printer. © Kevin Newton.
- dprint-plugin-dockerfile 0.7.0 — the Dockerfile parser and generator, with the parts of dprint-core's printer they use. © David Sherret.
- graphql-js 17 — the GraphQL lexer and parser, through Bun's port. © GraphQL Contributors.
- prettier-plugin-jsdoc — how JSDoc comments are formatted, through Bun's port. © Hossein Mohammadi.
ISC
- yaml 2.9.0 — the lexer, the concrete syntax tree parser, and the composer. © Eemeli Aro.
Apache 2.0
- @trivago/prettier-plugin-sort-imports, @ianvs/prettier-plugin-sort-imports and TypeScript's
organizeImports.ts— the import sorters, through Bun's port. © Microsoft Corporation and the respective authors. They run whenjs.sortImportsorjs.pluginsasks for it. - @xml-tools/parser 1.0.12 — the XML lexer and grammar. © SAP SE or an SAP affiliate company. The port in
crates/tidy/src/xmlis a hand-written lexer and parser rather than chevrotain's, rejects the same input instead of recovering, and reads a hexadecimal character reference whole.
tidy itself
MIT © Luke Edwards.