mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-08 02:38:11 +09:00

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`.
974 B
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