1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-08 02:38:11 +09:00
nixpkgs/doc/packages/treefmt.section.md
Matt Sturgeon 4c638c2735 doc/packages/treefmt: add option reference docs
Add a `treefmt.optionsDoc` passthru, which is included on the treefmt
section of the nixpkgs manual.

This generates reference docs for options declared in
`treefmt.evalConfig`.
2025-05-20 07:52:11 +02:00

974 B

treefmt

treefmt streamlines the process of applying formatters to your project, making it a breeze with just one command line.

The treefmt package provides functions for configuring treefmt using the module system, which are documented below, along with their options.

Alternatively, treefmt can be configured using treefmt-nix.

treefmt-functions.section.md

Options Reference

The following attributes can be passed to withConfig or evalConfig:

id-prefix: opt-treefmt-
list-id: configuration-variable-list
source: ../treefmt-options.json