Skip to content

Shell module treefmt

treefmt

treefmt config

Type: submodule

Default:

{ }

Declared by: - templates/nix-shell-parts-vendored/nix/vendored/shell-modules/treefmt.nix

treefmt.enable

Whether to enable treefmt formatting.

Type: boolean

Default:

false

Example:

true

Declared by: - templates/nix-shell-parts-vendored/nix/vendored/shell-modules/treefmt.nix

treefmt.enableDefaultExcludes

Enable the default excludes in the treefmt configuration.

Type: boolean

Default:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.package

The treefmt package to use.

Type: package

Default:

pkgs.treefmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.build.check

Create a flake check to test that the given project tree is already formatted.

Input argument is the path to the project tree (usually ‘self’).

Type: function that evaluates to a(n) package

Default: Default check implementation

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.build.configFile

Contains the generated config file derived from the settings.

Type: absolute path

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.build.devShell

The development shell with treefmt and its underlying programs

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.build.programs

Attrset of formatter programs enabled in treefmt configuration.

The key of the attrset is the formatter name, with the value being the package used to do the formatting.

Type: attribute set of package

Default: Programs used in configuration

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.build.wrapper

The treefmt package, wrapped with the config file.

Type: package

Default: wrapped treefmt command

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.pre-commit-hook

Whether to enable Setup pre commit hook for treefmt.

Type: boolean

Default:

false

Example:

true

Declared by: - templates/nix-shell-parts-vendored/nix/vendored/shell-modules/treefmt.nix

treefmt.programs.actionlint.enable

Whether to enable actionlint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/actionlint.nix

treefmt.programs.actionlint.package

The actionlint package to use.

Type: package

Default:

pkgs.actionlint

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/actionlint.nix

treefmt.programs.actionlint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/actionlint.nix

treefmt.programs.actionlint.finalPackage

Resulting actionlint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/actionlint.nix

treefmt.programs.actionlint.includes

Path / file patterns to include

Type: list of string

Default:

[
  ".github/workflows/*.yml"
  ".github/workflows/*.yaml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/actionlint.nix

treefmt.programs.actionlint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/actionlint.nix

treefmt.programs.aiken.enable

Whether to enable aiken.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/aiken.nix

treefmt.programs.aiken.package

The aiken package to use.

Type: package

Default:

pkgs.aiken

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/aiken.nix

treefmt.programs.aiken.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/aiken.nix

treefmt.programs.aiken.finalPackage

Resulting aiken package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/aiken.nix

treefmt.programs.aiken.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.ak"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/aiken.nix

treefmt.programs.aiken.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/aiken.nix

treefmt.programs.alejandra.enable

Whether to enable alejandra.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/alejandra.nix

treefmt.programs.alejandra.package

The alejandra package to use.

Type: package

Default:

pkgs.alejandra

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/alejandra.nix

treefmt.programs.alejandra.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/alejandra.nix

treefmt.programs.alejandra.finalPackage

Resulting alejandra package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/alejandra.nix

treefmt.programs.alejandra.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.nix"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/alejandra.nix

treefmt.programs.alejandra.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/alejandra.nix

treefmt.programs.asmfmt.enable

Whether to enable asmfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/asmfmt.nix

treefmt.programs.asmfmt.package

The asmfmt package to use.

Type: package

Default:

pkgs.asmfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/asmfmt.nix

treefmt.programs.asmfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/asmfmt.nix

treefmt.programs.asmfmt.finalPackage

Resulting asmfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/asmfmt.nix

treefmt.programs.asmfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.s"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/asmfmt.nix

treefmt.programs.asmfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/asmfmt.nix

treefmt.programs.autocorrect.enable

Whether to enable autocorrect.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.package

The autocorrect package to use.

Type: package

Default:

pkgs.autocorrect

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.finalPackage

Resulting autocorrect package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.context

Enable or disable in a specific context.

Type: null or (submodule)

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.context.codeblock

Enable or disable to format codeblock in Markdown or AsciiDoc etc.

Type: null or one of “off”, “error”, “warning”

Default:

null

Example:

"error"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.fileTypes

Configure the files associations, you config is higher priority than default.

Type: null or (attribute set of string)

Default:

null

Example:

{
  "*.js" = "javascript";
  ".mdx" = "markdown";
  Rakefile = "ruby";
  rb = "ruby";
}

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.rules

Configure rules for autocorrect formatting.

Type: null or (submodule)

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.rules.fullwidth

Convert to fullwidth.

Type: null or one of “off”, “error”, “warning”

Default:

null

Example:

"error"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.rules.halfwidth-punctuation

Fullwidth punctuations to halfwidth in english.

Type: null or one of “off”, “error”, “warning”

Default:

null

Example:

"error"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.rules.halfwidth-word

Fullwidth alphanumeric characters to halfwidth.

Type: null or one of “off”, “error”, “warning”

Default:

null

Example:

"error"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.rules.no-space-fullwidth

Remove space near the fullwidth.

Type: null or one of “off”, “error”, “warning”

Default:

null

Example:

"error"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.rules.space-backticks

Add space between ``, when near the CJK.

Type: null or one of “off”, “error”, “warning”

Default:

null

Example:

"error"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.rules.space-bracket

Add space between brackets (), [] when near the CJK.

Type: null or one of “off”, “error”, “warning”

Default:

null

Example:

"error"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.rules.space-dash

Add space between dash -.

Type: null or one of “off”, “error”, “warning”

Default:

null

Example:

"off"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.rules.space-dollar

Add space between dollar $ when near the CJK.

Type: null or one of “off”, “error”, “warning”

Default:

null

Example:

"off"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.rules.space-punctuation

Add space between some punctuations.

Type: null or one of “off”, “error”, “warning”

Default:

null

Example:

"error"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.rules.space-word

Auto add spacing between CJK (Chinese, Japanese, Korean) and English words.

Type: null or one of “off”, “error”, “warning”

Default:

null

Example:

"off"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.rules.spellcheck

Spellcheck.

Type: null or one of “off”, “error”, “warning”

Default:

null

Example:

"warning"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.spellcheck

Spellcheck configuration.

Type: null or (submodule)

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.spellcheck.words

Correct Words (Case insensitive) for by Spellcheck.

Type: null or (list of string)

Default:

null

Example:

[
  "GitHub"
  "App Store"
  "AppStore = App Store"
  "Git"
  "Node.js"
  "nodejs = Node.js"
  "VIM"
  "DNS"
  "HTTP"
  "SSL"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.settings.textRules

Configure special rules for some texts.

Type: null or (attribute set of (null or one of “off”, “error”, “warning”))

Default:

null

Example:

{
  "Hello你好" = "warning";
  "Hi你好" = "off";
}

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.autocorrect.threads

Number of threads, 0 - use number of CPU. [default: 0]

Type: null or signed integer

Default:

null

Example:

2

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/autocorrect.nix

treefmt.programs.beautysh.enable

Whether to enable beautysh.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/beautysh.nix

treefmt.programs.beautysh.package

The beautysh package to use.

Type: package

Default:

pkgs.beautysh

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/beautysh.nix

treefmt.programs.beautysh.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/beautysh.nix

treefmt.programs.beautysh.finalPackage

Resulting beautysh package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/beautysh.nix

treefmt.programs.beautysh.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.sh"
  "*.bash"
  "*.envrc"
  "*.envrc.*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/beautysh.nix

treefmt.programs.beautysh.indent_size

Sets the number of spaces to be used in indentation.

Type: signed integer

Default:

2

Example:

4

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/beautysh.nix

treefmt.programs.beautysh.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/beautysh.nix

treefmt.programs.biome.enable

Whether to enable biome.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/biome.nix

treefmt.programs.biome.package

The biome package to use.

Type: package

Default:

pkgs.biome

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/biome.nix

treefmt.programs.biome.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/biome.nix

treefmt.programs.biome.finalPackage

Resulting biome package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/biome.nix

treefmt.programs.biome.formatCommand

The command to run Biome with.

Type: one of “format”, “lint”, “check”

Default:

"check"

Example:

"format"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/biome.nix

treefmt.programs.biome.formatUnsafe

Allows to format a document that has unsafe fixes.

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/biome.nix

treefmt.programs.biome.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.js"
  "*.ts"
  "*.mjs"
  "*.mts"
  "*.cjs"
  "*.cts"
  "*.jsx"
  "*.tsx"
  "*.d.ts"
  "*.d.cts"
  "*.d.mts"
  "*.json"
  "*.jsonc"
  "*.css"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/biome.nix

treefmt.programs.biome.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/biome.nix

treefmt.programs.biome.settings

Raw Biome configuration (must conform to Biome JSON schema)

Type: JSON value

Default:

{ }

Example:

{
  formatter = {
    indentStyle = "space";
    lineWidth = 100;
  };
  javascript = {
    formatter = {
      lineWidth = 120;
      quoteStyle = "single";
    };
  };
  json = {
    formatter = {
      enabled = false;
    };
  };
}

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/biome.nix

treefmt.programs.biome.validate.enable

Whether to validate treefmt.programs.biome.settings.

Type: boolean

Default:

true

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/biome.nix

treefmt.programs.biome.validate.schema

The biome schema file to validate against

Type: absolute path

Default: Fetches "https://biomejs.dev/schemas/${biomeVersion}/schema.json" using pkgs.fetchurl.

Example:

pkgs.fetchurl {
  url = "https://biomejs.dev/schemas/2.1.2/schema.json"
  hash = "sha256-n4Y16J7g34e0VdQzRItu/P7n5oppkY4Vm4P1pQxOILU=";
}

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/biome.nix

treefmt.programs.black.enable

Whether to enable black.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/black.nix

treefmt.programs.black.package

The black package to use.

Type: package

Default:

pkgs.black

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/black.nix

treefmt.programs.black.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/black.nix

treefmt.programs.black.finalPackage

Resulting black package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/black.nix

treefmt.programs.black.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.py"
  "*.pyi"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/black.nix

treefmt.programs.black.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/black.nix

treefmt.programs.buf.enable

Whether to enable buf.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/buf.nix

treefmt.programs.buf.package

The buf package to use.

Type: package

Default:

pkgs.buf

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/buf.nix

treefmt.programs.buf.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/buf.nix

treefmt.programs.buf.finalPackage

Resulting buf package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/buf.nix

treefmt.programs.buf.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.proto"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/buf.nix

treefmt.programs.buf.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/buf.nix

treefmt.programs.buildifier.enable

Whether to enable buildifier.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/buildifier.nix

treefmt.programs.buildifier.package

The buildifier package to use.

Type: package

Default:

pkgs.buildifier

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/buildifier.nix

treefmt.programs.buildifier.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/buildifier.nix

treefmt.programs.buildifier.finalPackage

Resulting buildifier package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/buildifier.nix

treefmt.programs.buildifier.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.bazel"
  "*.bzl"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/buildifier.nix

treefmt.programs.buildifier.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/buildifier.nix

treefmt.programs.cabal-fmt.enable

Whether to enable cabal-fmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cabal-fmt.nix

treefmt.programs.cabal-fmt.package

The cabal-fmt package to use.

Type: package

Default:

pkgs.haskellPackages.cabal-fmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cabal-fmt.nix

treefmt.programs.cabal-fmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cabal-fmt.nix

treefmt.programs.cabal-fmt.finalPackage

Resulting cabal-fmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cabal-fmt.nix

treefmt.programs.cabal-fmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.cabal"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cabal-fmt.nix

treefmt.programs.cabal-fmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cabal-fmt.nix

treefmt.programs.cabal-gild.enable

Whether to enable cabal-gild.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cabal-gild.nix

treefmt.programs.cabal-gild.package

The cabal-gild package to use.

Type: package

Default:

pkgs.haskellPackages.cabal-gild

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cabal-gild.nix

treefmt.programs.cabal-gild.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cabal-gild.nix

treefmt.programs.cabal-gild.finalPackage

Resulting cabal-gild package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cabal-gild.nix

treefmt.programs.cabal-gild.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.cabal"
  "cabal.project"
  "cabal.project.local"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cabal-gild.nix

treefmt.programs.cabal-gild.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cabal-gild.nix

treefmt.programs.clang-format.enable

Whether to enable clang-format.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-format.nix

treefmt.programs.clang-format.package

The clang-tools package to use.

Type: package

Default:

pkgs.clang-tools

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-format.nix

treefmt.programs.clang-format.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-format.nix

treefmt.programs.clang-format.finalPackage

Resulting clang-format package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-format.nix

treefmt.programs.clang-format.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.c"
  "*.cc"
  "*.cpp"
  "*.h"
  "*.hh"
  "*.hpp"
  "*.glsl"
  "*.vert"
  ".tesc"
  ".tese"
  ".geom"
  ".frag"
  ".comp"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-format.nix

treefmt.programs.clang-format.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-format.nix

treefmt.programs.clang-tidy.enable

Whether to enable clang-tidy.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-tidy.nix

treefmt.programs.clang-tidy.package

The clang-tools package to use.

Type: package

Default:

pkgs.clang-tools

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-tidy.nix

treefmt.programs.clang-tidy.compileCommandsPath

used to read a compile command database

Type: null or absolute path or string

Default:

null

Example:

"/my/cmake/build/directory"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-tidy.nix

treefmt.programs.clang-tidy.configFile

Specify the path of .clang-tidy or custom config file

Type: null or absolute path

Default:

null

Example:

"/some/path/myTidyConfigFile"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-tidy.nix

treefmt.programs.clang-tidy.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-tidy.nix

treefmt.programs.clang-tidy.finalPackage

Resulting clang-tidy package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-tidy.nix

treefmt.programs.clang-tidy.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.c"
  "*.cc"
  "*.cpp"
  "*.h"
  "*.hh"
  "*.hpp"
  "*.glsl"
  "*.vert"
  ".tesc"
  ".tese"
  ".geom"
  ".frag"
  ".comp"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-tidy.nix

treefmt.programs.clang-tidy.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-tidy.nix

treefmt.programs.clang-tidy.quiet

Run clang-tidy in quiet mode

Type: boolean

Default:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/clang-tidy.nix

treefmt.programs.cljfmt.enable

Whether to enable cljfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cljfmt.nix

treefmt.programs.cljfmt.package

The cljfmt package to use.

Type: package

Default:

pkgs.cljfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cljfmt.nix

treefmt.programs.cljfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cljfmt.nix

treefmt.programs.cljfmt.finalPackage

Resulting cljfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cljfmt.nix

treefmt.programs.cljfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.clj"
  "*.cljc"
  "*.cljs"
  "*.cljx"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cljfmt.nix

treefmt.programs.cljfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cljfmt.nix

treefmt.programs.cmake-format.enable

Whether to enable cmake-format.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cmake-format.nix

treefmt.programs.cmake-format.package

The cmake-format package to use.

Type: package

Default:

pkgs.cmake-format

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cmake-format.nix

treefmt.programs.cmake-format.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cmake-format.nix

treefmt.programs.cmake-format.finalPackage

Resulting cmake-format package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cmake-format.nix

treefmt.programs.cmake-format.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.cmake"
  "CMakeLists.txt"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cmake-format.nix

treefmt.programs.cmake-format.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cmake-format.nix

treefmt.programs.csharpier.enable

Whether to enable csharpier.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/csharpier.nix

treefmt.programs.csharpier.package

The csharpier package to use.

Type: package

Default:

pkgs.csharpier

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/csharpier.nix

treefmt.programs.csharpier.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/csharpier.nix

treefmt.programs.csharpier.finalPackage

Resulting csharpier package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/csharpier.nix

treefmt.programs.csharpier.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.cs"
  "*.csproj"
  "*.slnx"
  "*.xaml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/csharpier.nix

treefmt.programs.csharpier.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/csharpier.nix

treefmt.programs.cue.enable

Whether to enable cue.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cue.nix

treefmt.programs.cue.package

The cue package to use.

Type: package

Default:

pkgs.cue

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cue.nix

treefmt.programs.cue.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cue.nix

treefmt.programs.cue.finalPackage

Resulting cue package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cue.nix

treefmt.programs.cue.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.cue"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cue.nix

treefmt.programs.cue.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/cue.nix

treefmt.programs.d2.enable

Whether to enable d2.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/d2.nix

treefmt.programs.d2.package

The d2 package to use.

Type: package

Default:

pkgs.d2

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/d2.nix

treefmt.programs.d2.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/d2.nix

treefmt.programs.d2.finalPackage

Resulting d2 package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/d2.nix

treefmt.programs.d2.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.d2"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/d2.nix

treefmt.programs.d2.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/d2.nix

treefmt.programs.dart-format.enable

Whether to enable dart-format.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dart-format.nix

treefmt.programs.dart-format.package

The dart package to use.

Type: package

Default:

pkgs.dart

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dart-format.nix

treefmt.programs.dart-format.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dart-format.nix

treefmt.programs.dart-format.finalPackage

Resulting dart-format package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dart-format.nix

treefmt.programs.dart-format.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.dart"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dart-format.nix

treefmt.programs.dart-format.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dart-format.nix

treefmt.programs.deadnix.enable

Whether to enable deadnix.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deadnix.nix

treefmt.programs.deadnix.package

The deadnix package to use.

Type: package

Default:

pkgs.deadnix

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deadnix.nix

treefmt.programs.deadnix.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deadnix.nix

treefmt.programs.deadnix.finalPackage

Resulting deadnix package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deadnix.nix

treefmt.programs.deadnix.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.nix"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deadnix.nix

treefmt.programs.deadnix.no-lambda-arg

Whether to enable Don’t check lambda parameter arguments.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deadnix.nix

treefmt.programs.deadnix.no-lambda-pattern-names

Whether to enable Don’t check lambda attrset pattern names (don’t break nixpkgs callPackage).

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deadnix.nix

treefmt.programs.deadnix.no-underscore

Whether to enable Don’t check any bindings that start with a _.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deadnix.nix

treefmt.programs.deadnix.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deadnix.nix

treefmt.programs.deno.enable

Whether to enable deno.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deno.nix

treefmt.programs.deno.package

The deno package to use.

Type: package

Default:

pkgs.deno

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deno.nix

treefmt.programs.deno.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deno.nix

treefmt.programs.deno.finalPackage

Resulting deno package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deno.nix

treefmt.programs.deno.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.css"
  "*.html"
  "*.js"
  "*.json"
  "*.jsonc"
  "*.jsx"
  "*.less"
  "*.markdown"
  "*.md"
  "*.sass"
  "*.scss"
  "*.ts"
  "*.tsx"
  "*.yaml"
  "*.yml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deno.nix

treefmt.programs.deno.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/deno.nix

treefmt.programs.detekt.enable

Whether to enable detekt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/detekt.nix

treefmt.programs.detekt.package

The detekt package to use.

Type: package

Default:

pkgs.detekt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/detekt.nix

treefmt.programs.detekt.buildUponDefaultConfig

Preconfigures detekt with a bunch of rules and some opinionated defaults for you. Allows additional provided configurations to override the defaults.

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/detekt.nix

treefmt.programs.detekt.configFile

Path to detekt configuration file

Type: null or absolute path

Default:

null

Example:

"./detekt-config.yml"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/detekt.nix

treefmt.programs.detekt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/detekt.nix

treefmt.programs.detekt.finalPackage

Resulting detekt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/detekt.nix

treefmt.programs.detekt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.kt"
  "*.kts"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/detekt.nix

treefmt.programs.detekt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/detekt.nix

treefmt.programs.dfmt.enable

Whether to enable dfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dfmt.nix

treefmt.programs.dfmt.package

The dformat package to use.

Type: package

Default:

pkgs.dformat

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dfmt.nix

treefmt.programs.dfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dfmt.nix

treefmt.programs.dfmt.finalPackage

Resulting dfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dfmt.nix

treefmt.programs.dfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.d"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dfmt.nix

treefmt.programs.dfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dfmt.nix

treefmt.programs.dhall.enable

Whether to enable dhall.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dhall.nix

treefmt.programs.dhall.package

The dhall package to use.

Type: package

Default:

pkgs.dhall

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dhall.nix

treefmt.programs.dhall.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dhall.nix

treefmt.programs.dhall.finalPackage

Resulting dhall package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dhall.nix

treefmt.programs.dhall.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.dhall"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dhall.nix

treefmt.programs.dhall.lint

Whether to lint in addition to formatting.

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dhall.nix

treefmt.programs.dhall.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dhall.nix

treefmt.programs.djlint.enable

Whether to enable djlint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/djlint.nix

treefmt.programs.djlint.package

The djlint package to use.

Type: package

Default:

pkgs.djlint

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/djlint.nix

treefmt.programs.djlint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/djlint.nix

treefmt.programs.djlint.finalPackage

Resulting djlint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/djlint.nix

treefmt.programs.djlint.ignoreRules

Which H-rules to ignore

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/djlint.nix

treefmt.programs.djlint.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.html"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/djlint.nix

treefmt.programs.djlint.indent

Default indentation depth in spaces

Type: unsigned integer, meaning >=0

Default:

4

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/djlint.nix

treefmt.programs.djlint.lint

Whether to lint in addition to formatting.

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/djlint.nix

treefmt.programs.djlint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/djlint.nix

treefmt.programs.dnscontrol.enable

Whether to enable dnscontrol.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dnscontrol.nix

treefmt.programs.dnscontrol.package

The dnscontrol package to use.

Type: package

Default:

pkgs.dnscontrol

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dnscontrol.nix

treefmt.programs.dnscontrol.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dnscontrol.nix

treefmt.programs.dnscontrol.finalPackage

Resulting dnscontrol package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dnscontrol.nix

treefmt.programs.dnscontrol.includes

Path / file patterns to include

Type: list of string

Default:

[
  "dnsconfig.js"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dnscontrol.nix

treefmt.programs.dnscontrol.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dnscontrol.nix

treefmt.programs.dockerfmt.enable

Whether to enable dockerfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dockerfmt.nix

treefmt.programs.dockerfmt.package

The dockerfmt package to use.

Type: package

Default:

pkgs.dockerfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dockerfmt.nix

treefmt.programs.dockerfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dockerfmt.nix

treefmt.programs.dockerfmt.finalPackage

Resulting dockerfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dockerfmt.nix

treefmt.programs.dockerfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "Dockerfile"
  "*/Dockerfile"
  "*.Dockerfile"
  "Dockerfile.*"
  "*/Dockerfile.*"
  "*.dockerfile"
  "dockerfile.*"
  "*/dockerfile.*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dockerfmt.nix

treefmt.programs.dockerfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dockerfmt.nix

treefmt.programs.dockfmt.enable

Whether to enable dockfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dockfmt.nix

treefmt.programs.dockfmt.package

The dockfmt package to use.

Type: package

Default:

pkgs.dockfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dockfmt.nix

treefmt.programs.dockfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dockfmt.nix

treefmt.programs.dockfmt.finalPackage

Resulting dockfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dockfmt.nix

treefmt.programs.dockfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "Dockerfile"
  "*/Dockerfile"
  "*.Dockerfile"
  "Dockerfile.*"
  "*/Dockerfile.*"
  "*.dockerfile"
  "dockerfile.*"
  "*/dockerfile.*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dockfmt.nix

treefmt.programs.dockfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dockfmt.nix

treefmt.programs.dos2unix.enable

Whether to enable dos2unix.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dos2unix.nix

treefmt.programs.dos2unix.package

The dos2unix package to use.

Type: package

Default:

pkgs.dos2unix

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dos2unix.nix

treefmt.programs.dos2unix.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dos2unix.nix

treefmt.programs.dos2unix.finalPackage

Resulting dos2unix package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dos2unix.nix

treefmt.programs.dos2unix.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dos2unix.nix

treefmt.programs.dos2unix.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dos2unix.nix

treefmt.programs.dprint.enable

Whether to enable dprint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.package

The dprint package to use.

Type: package

Default:

pkgs.dprint

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.finalPackage

Resulting dprint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.includes

Path / file patterns to include

Type: list of string

Default:

[
  ".*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.settings

Configuration to generate dprint.json with

Type: open submodule of (JSON value)

Default:

{ }

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.settings.extends

Configurations to extend.

Type: null or string or list of string

Default:

null

Example:

"https://dprint.dev/path/to/config/file.v1.json"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.settings.incremental

Whether to format files only when they change.

Type: null or boolean

Default:

null

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.settings.indentWidth

The number of characters for an indent

Type: null or signed integer

Default:

null

Example:

2

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.settings.lineWidth

The width of a line the printer will try to stay under. Note that the printer may exceed this width in certain cases.

Type: null or signed integer

Default:

null

Example:

80

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.settings.newLineKind

The kind of newline to use (one of: auto, crlf, lf, system).

Type: null or string

Default:

null

Example:

"auto"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.settings.plugins

Array of plugin URLs to format files.

Type: null or (list of string)

Default:

null

Example:

# (recommended) using plugins from nixpkgs
# plugins is the list of all available dprint plugins in nixpkgs
(pkgs.dprint-plugins.getPluginList (
  plugins: with plugins; [
    dprint-plugin-toml
    dprint-plugin-dockerfile
    g-plane-pretty_yaml
    # (pkgs.callPackage ./dprint/plugins/sample.nix {})
  ]
))
# (not recommended) using url plugins
# treefmt then only works outside the nix sandbox, so treefmt nix flake check will fail
++ [
  "https://plugins.dprint.dev/json-0.17.2.wasm"
  "https://plugins.dprint.dev/markdown-0.15.2.wasm"
  "https://plugins.dprint.dev/typescript-0.84.4.wasm"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dprint.settings.useTabs

Whether to use tabs (true) or spaces (false) for indentation.

Type: null or boolean

Default:

null

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dprint.nix

treefmt.programs.dscanner.enable

Whether to enable dscanner.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dscanner.nix

treefmt.programs.dscanner.package

The dscanner package to use.

Type: package

Default:

pkgs.dscanner

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dscanner.nix

treefmt.programs.dscanner.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dscanner.nix

treefmt.programs.dscanner.finalPackage

Resulting dscanner package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dscanner.nix

treefmt.programs.dscanner.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.d"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dscanner.nix

treefmt.programs.dscanner.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/dscanner.nix

treefmt.programs.efmt.enable

Whether to enable efmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/efmt.nix

treefmt.programs.efmt.package

The efmt package to use.

Type: package

Default:

pkgs.efmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/efmt.nix

treefmt.programs.efmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/efmt.nix

treefmt.programs.efmt.finalPackage

Resulting efmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/efmt.nix

treefmt.programs.efmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.erl"
  "*.hrl"
  "*.app"
  "*.app.src"
  "*.config"
  "*.script"
  "*.escript"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/efmt.nix

treefmt.programs.efmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/efmt.nix

treefmt.programs.elm-format.enable

Whether to enable elm-format.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/elm-format.nix

treefmt.programs.elm-format.package

The elm-format package to use.

Type: package

Default:

pkgs.elmPackages.elm-format

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/elm-format.nix

treefmt.programs.elm-format.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/elm-format.nix

treefmt.programs.elm-format.finalPackage

Resulting elm-format package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/elm-format.nix

treefmt.programs.elm-format.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.elm"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/elm-format.nix

treefmt.programs.elm-format.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/elm-format.nix

treefmt.programs.erlfmt.enable

Whether to enable erlfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/erlfmt.nix

treefmt.programs.erlfmt.package

The erlfmt package to use.

Type: package

Default:

pkgs.erlfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/erlfmt.nix

treefmt.programs.erlfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/erlfmt.nix

treefmt.programs.erlfmt.finalPackage

Resulting erlfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/erlfmt.nix

treefmt.programs.erlfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.erl"
  "*.hrl"
  "*.app"
  "*.app.src"
  "*.config"
  "*.script"
  "*.escript"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/erlfmt.nix

treefmt.programs.erlfmt.print-width

The line length that formatter would wrap on

Type: signed integer

Default:

100

Example:

80

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/erlfmt.nix

treefmt.programs.erlfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/erlfmt.nix

treefmt.programs.fantomas.enable

Whether to enable fantomas.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fantomas.nix

treefmt.programs.fantomas.package

The fantomas package to use.

Type: package

Default:

pkgs.fantomas

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fantomas.nix

treefmt.programs.fantomas.dotnet-sdk

The dotnet-sdk package to use.

Type: package

Default:

pkgs.dotnet-sdk

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fantomas.nix

treefmt.programs.fantomas.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fantomas.nix

treefmt.programs.fantomas.finalPackage

Resulting fantomas package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fantomas.nix

treefmt.programs.fantomas.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.fs"
  "*.fsx"
  "*.fsi"
  "*.ml"
  "*.mli"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fantomas.nix

treefmt.programs.fantomas.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fantomas.nix

treefmt.programs.fish_indent.enable

Whether to enable fish_indent.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fish_indent.nix

treefmt.programs.fish_indent.package

The fish package to use.

Type: package

Default:

pkgs.fish

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fish_indent.nix

treefmt.programs.fish_indent.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fish_indent.nix

treefmt.programs.fish_indent.finalPackage

Resulting fish_indent package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fish_indent.nix

treefmt.programs.fish_indent.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.fish"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fish_indent.nix

treefmt.programs.fish_indent.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fish_indent.nix

treefmt.programs.flake-edit.enable

Whether to enable flake-edit.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/flake-edit.nix

treefmt.programs.flake-edit.package

The flake-edit package to use.

Type: package

Default:

pkgs.flake-edit

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/flake-edit.nix

treefmt.programs.flake-edit.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/flake-edit.nix

treefmt.programs.flake-edit.finalPackage

Resulting flake-edit package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/flake-edit.nix

treefmt.programs.flake-edit.includes

Path / file patterns to include

Type: list of string

Default:

[
  "flake.nix"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/flake-edit.nix

treefmt.programs.flake-edit.noLock

Skip updating the lockfile after editing flake.nix

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/flake-edit.nix

treefmt.programs.flake-edit.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/flake-edit.nix

treefmt.programs.flake-edit.settings.follow.aliases

Mapping of canonical input names to alternative names. Allows nested inputs like “nixpkgs-lib” to follow “nixpkgs”.

Type: attribute set of list of string

Default:

{ }

Example:

{
  nixpkgs = [
    "nixpkgs-lib"
  ];
}

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/flake-edit.nix

treefmt.programs.flake-edit.settings.follow.ignore

List of inputs to ignore when following. Supports simple names (“systems”) or full paths (“crane.nixpkgs”).

Type: list of string

Default:

[ ]

Example:

[
  "systems"
  "crane.flake-utils"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/flake-edit.nix

treefmt.programs.fnlfmt.enable

Whether to enable fnlfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fnlfmt.nix

treefmt.programs.fnlfmt.package

The fnlfmt package to use.

Type: package

Default:

pkgs.fnlfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fnlfmt.nix

treefmt.programs.fnlfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fnlfmt.nix

treefmt.programs.fnlfmt.finalPackage

Resulting fnlfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fnlfmt.nix

treefmt.programs.fnlfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.fnl"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fnlfmt.nix

treefmt.programs.fnlfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fnlfmt.nix

treefmt.programs.formatjson5.enable

Whether to enable formatjson5.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/formatjson5.nix

treefmt.programs.formatjson5.package

The formatjson5 package to use.

Type: package

Default:

pkgs.formatjson5

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/formatjson5.nix

treefmt.programs.formatjson5.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/formatjson5.nix

treefmt.programs.formatjson5.finalPackage

Resulting formatjson5 package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/formatjson5.nix

treefmt.programs.formatjson5.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.json5"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/formatjson5.nix

treefmt.programs.formatjson5.indent

Indent by the given number of spaces

Type: signed integer

Default:

4

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/formatjson5.nix

treefmt.programs.formatjson5.noTrailingCommas

Suppress trailing commas (otherwise added by default)

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/formatjson5.nix

treefmt.programs.formatjson5.oneElementLines

Objects or arrays with a single child should collapse to a single line

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/formatjson5.nix

treefmt.programs.formatjson5.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/formatjson5.nix

treefmt.programs.formatjson5.sortArrays

Sort arrays of primitive values (string, number, boolean, or null) lexicographically

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/formatjson5.nix

treefmt.programs.fourmolu.enable

Whether to enable fourmolu.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fourmolu.nix

treefmt.programs.fourmolu.package

The fourmolu package to use.

Type: package

Default:

pkgs.haskellPackages.fourmolu

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fourmolu.nix

treefmt.programs.fourmolu.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fourmolu.nix

treefmt.programs.fourmolu.finalPackage

Resulting fourmolu package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fourmolu.nix

treefmt.programs.fourmolu.ghcOpts

Which GHC language extensions to enable

Type: unspecified value

Default:

[
  "BangPatterns"
  "PatternSynonyms"
  "TypeApplications"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fourmolu.nix

treefmt.programs.fourmolu.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.hs"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fourmolu.nix

treefmt.programs.fourmolu.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fourmolu.nix

treefmt.programs.fprettify.enable

Whether to enable fprettify.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fprettify.nix

treefmt.programs.fprettify.package

The fprettify package to use.

Type: package

Default:

pkgs.fprettify

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fprettify.nix

treefmt.programs.fprettify.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fprettify.nix

treefmt.programs.fprettify.finalPackage

Resulting fprettify package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fprettify.nix

treefmt.programs.fprettify.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.f90"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fprettify.nix

treefmt.programs.fprettify.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/fprettify.nix

treefmt.programs.gdformat.enable

Whether to enable gdformat.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gdformat.nix

treefmt.programs.gdformat.package

The gdtoolkit_4 package to use.

Type: package

Default:

pkgs.gdtoolkit_4

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gdformat.nix

treefmt.programs.gdformat.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gdformat.nix

treefmt.programs.gdformat.finalPackage

Resulting gdformat package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gdformat.nix

treefmt.programs.gdformat.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.gd"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gdformat.nix

treefmt.programs.gdformat.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gdformat.nix

treefmt.programs.genemichaels.enable

Whether to enable genemichaels, a Rust code formatter.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.package

The genemichaels package to use.

Type: package

Default:

pkgs.genemichaels

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.excludes

Path / file patterns to exclude for genemichaels.

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.includes

Path / file patterns to include for genemichaels.

Type: list of string

Default:

[
  "*.rs"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.settings.comment_errors_fatal

If reformatting comments results in an error, abort formatting the document.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.settings.comment_width

Maximum relative line length for comments (past the comment indentation level). Can be null to disable relative wrapping. If disabled, still wraps at max_width.

Type: null or (positive integer, meaning >0)

Default:

80

Example:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.settings.keep_max_blank_lines

Genemichaels will replace line breaks with it’s own deterministic line breaks. You can use this to keep extra line breaks (1 will keep up to 1 extra line break) during comment extraction. This is unused during formatting.

Type: unsigned integer, meaning >=0

Default:

0

Example:

1

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.settings.max_width

Ideal maximum line width. If there’s an unbreakable element the line won’t be split.

Type: positive integer, meaning >0

Default:

120

Example:

80

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.settings.root_splits

When breaking a child element, also break all parent elements.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.settings.split_attributes

Break a #[] on a separate line before the element it’s associated with.

Type: boolean

Default:

true

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.settings.split_brace_threshold

Break a () or {} if it has greater than this number of children. Set to null to disable breaking due to high child counts.

Type: null or (positive integer, meaning >0)

Default:

1

Example:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.settings.split_where

Put the where clause on a new line.

Type: boolean

Default:

true

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.settingsFile

The configuration file used by genemichaels.

Type: absolute path

Default: Generated JSON file from treefmt.programs.genemichaels.settings

Example:

./.genemichaels.json

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.genemichaels.threadCount

How many threads to use for formatting multiple files. Set to null to default to the number of cores on the system.

Type: null or (unsigned integer, meaning >=0)

Default:

null

Example:

1

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/genemichaels.nix

treefmt.programs.gleam.enable

Whether to enable gleam.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gleam.nix

treefmt.programs.gleam.package

The gleam package to use.

Type: package

Default:

pkgs.gleam

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gleam.nix

treefmt.programs.gleam.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gleam.nix

treefmt.programs.gleam.finalPackage

Resulting gleam package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gleam.nix

treefmt.programs.gleam.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.gleam"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gleam.nix

treefmt.programs.gleam.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gleam.nix

treefmt.programs.gofmt.enable

Whether to enable gofmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofmt.nix

treefmt.programs.gofmt.package

The go package to use.

Type: package

Default:

pkgs.go

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofmt.nix

treefmt.programs.gofmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[
  "vendor/*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofmt.nix

treefmt.programs.gofmt.finalPackage

Resulting gofmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofmt.nix

treefmt.programs.gofmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.go"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofmt.nix

treefmt.programs.gofmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofmt.nix

treefmt.programs.gofumpt.enable

Whether to enable gofumpt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofumpt.nix

treefmt.programs.gofumpt.package

The gofumpt package to use.

Type: package

Default:

pkgs.gofumpt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofumpt.nix

treefmt.programs.gofumpt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[
  "vendor/*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofumpt.nix

treefmt.programs.gofumpt.extra

Whether to enable extra rules.

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofumpt.nix

treefmt.programs.gofumpt.finalPackage

Resulting gofumpt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofumpt.nix

treefmt.programs.gofumpt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.go"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofumpt.nix

treefmt.programs.gofumpt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/gofumpt.nix

treefmt.programs.goimports.enable

Whether to enable goimports.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/goimports.nix

treefmt.programs.goimports.package

The gotools package to use.

Type: package

Default:

pkgs.gotools

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/goimports.nix

treefmt.programs.goimports.excludes

Path / file patterns to exclude

Type: list of string

Default:

[
  "vendor/*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/goimports.nix

treefmt.programs.goimports.finalPackage

Resulting goimports package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/goimports.nix

treefmt.programs.goimports.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.go"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/goimports.nix

treefmt.programs.goimports.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/goimports.nix

treefmt.programs.golangci-lint.enable

Whether to enable golangci-lint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.enableLinters

Enable specific linters

Type: list of string

Default:

[ ]

Example:

[
  "govet"
  "errcheck"
  "staticcheck"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.enableOnly

Override configuration to run only specific linter(s)

Type: list of string

Default:

[ ]

Example:

[
  "govet"
  "gofmt"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.package

The golangci-lint package to use.

Type: package

Default:

pkgs.golangci-lint

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.buildTags

Build tags to use during analysis

Type: list of string

Default:

[ ]

Example:

[
  "integration"
  "e2e"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.concurrency

Number of CPUs to use (auto-configured by default)

Type: null or signed integer

Default:

null

Example:

4

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.configFile

Path to golangci-lint configuration file

Type: null or string

Default:

null

Example:

".golangci.yml"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.disableLinters

Disable specific linters

Type: list of string

Default:

[ ]

Example:

[
  "typecheck"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[
  "vendor/*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.fastOnly

Run only fast linters from enabled linters set

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.finalPackage

Resulting golangci-lint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.go"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.maxIssuesPerLinter

Maximum issues per linter (default: 50)

Type: null or signed integer

Default:

null

Example:

50

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.maxSameIssues

Maximum count of same issues (default: 3)

Type: null or signed integer

Default:

null

Example:

3

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.newFromRev

Show only new issues created after git revision REV

Type: null or string

Default:

null

Example:

"HEAD~1"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.noConfig

Don’t read any configuration file

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.tests

Analyze test files

Type: boolean

Default:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.timeout

Timeout for total work (e.g., ‘5m’, ‘1h’, ‘10s’)

Type: null or string

Default:

null

Example:

"5m"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golangci-lint.verbose

Enable verbose output

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golangci-lint.nix

treefmt.programs.golines.enable

Whether to enable golines.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golines.nix

treefmt.programs.golines.package

The golines package to use.

Type: package

Default:

pkgs.golines

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golines.nix

treefmt.programs.golines.excludes

Path / file patterns to exclude

Type: list of string

Default:

[
  "vendor/*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golines.nix

treefmt.programs.golines.finalPackage

Resulting golines package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golines.nix

treefmt.programs.golines.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.go"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golines.nix

treefmt.programs.golines.maxLength

Target maximum line length (default: 100)

Type: null or signed integer

Default:

null

Example:

100

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golines.nix

treefmt.programs.golines.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golines.nix

treefmt.programs.golines.tabLength

Length of a tab (default: 4)

Type: null or signed integer

Default:

null

Example:

4

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/golines.nix

treefmt.programs.google-java-format.enable

Whether to enable google-java-format.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/google-java-format.nix

treefmt.programs.google-java-format.package

The google-java-format package to use.

Type: package

Default:

pkgs.google-java-format

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/google-java-format.nix

treefmt.programs.google-java-format.aospStyle

Whether to use AOSP (Android Open Source Project) indentation. In a few words, use 4-space indentation rather than the conventional 2-space indentation width that Google uses.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/google-java-format.nix

treefmt.programs.google-java-format.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/google-java-format.nix

treefmt.programs.google-java-format.finalPackage

Resulting google-java-format package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/google-java-format.nix

treefmt.programs.google-java-format.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.java"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/google-java-format.nix

treefmt.programs.google-java-format.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/google-java-format.nix

treefmt.programs.hclfmt.enable

Whether to enable hclfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hclfmt.nix

treefmt.programs.hclfmt.package

The hclfmt package to use.

Type: package

Default:

pkgs.hclfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hclfmt.nix

treefmt.programs.hclfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hclfmt.nix

treefmt.programs.hclfmt.finalPackage

Resulting hclfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hclfmt.nix

treefmt.programs.hclfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.hcl"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hclfmt.nix

treefmt.programs.hclfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hclfmt.nix

treefmt.programs.hlint.enable

Whether to enable hlint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hlint.nix

treefmt.programs.hlint.package

The hlint package to use.

Type: package

Default:

pkgs.hlint

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hlint.nix

treefmt.programs.hlint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hlint.nix

treefmt.programs.hlint.finalPackage

Resulting hlint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hlint.nix

treefmt.programs.hlint.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.hs"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hlint.nix

treefmt.programs.hlint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hlint.nix

treefmt.programs.hujsonfmt.enable

Whether to enable hujsonfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hujsonfmt.nix

treefmt.programs.hujsonfmt.package

The hujsonfmt package to use.

Type: package

Default:

pkgs.hujsonfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hujsonfmt.nix

treefmt.programs.hujsonfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hujsonfmt.nix

treefmt.programs.hujsonfmt.finalPackage

Resulting hujsonfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hujsonfmt.nix

treefmt.programs.hujsonfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.hujson"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hujsonfmt.nix

treefmt.programs.hujsonfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/hujsonfmt.nix

treefmt.programs.isort.enable

Whether to enable isort.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/isort.nix

treefmt.programs.isort.package

The isort package to use.

Type: package

Default:

pkgs.isort

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/isort.nix

treefmt.programs.isort.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/isort.nix

treefmt.programs.isort.finalPackage

Resulting isort package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/isort.nix

treefmt.programs.isort.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.py"
  "*.pyi"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/isort.nix

treefmt.programs.isort.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/isort.nix

treefmt.programs.isort.profile

The profile to use for isort.

Type: string

Default:

""

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/isort.nix

treefmt.programs.json-sort-cli.enable

Whether to enable json-sort-cli.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/json-sort-cli.nix

treefmt.programs.json-sort-cli.package

The json-sort-cli package to use.

Type: package

Default:

pkgs.json-sort-cli

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/json-sort-cli.nix

treefmt.programs.json-sort-cli.autofix

Update files with fixes instead of just reporting. Defaults to false.

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/json-sort-cli.nix

treefmt.programs.json-sort-cli.end-of-line

Specify the desired line ending for output. Defaults to system line ending. Overrides .editorconfig settings if an .editorconfig is found.

Type: null or one of “lf”, “crlf”, “cr”, “unset”

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/json-sort-cli.nix

treefmt.programs.json-sort-cli.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/json-sort-cli.nix

treefmt.programs.json-sort-cli.finalPackage

Resulting json-sort-cli package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/json-sort-cli.nix

treefmt.programs.json-sort-cli.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.json"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/json-sort-cli.nix

treefmt.programs.json-sort-cli.indent-size

Number of spaces to indent, or the string “tab” to use tabs. Defaults to 2 spaces. Overrides .editorconfig settings if an .editorconfig is found.

Type: signed integer

Default:

2

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/json-sort-cli.nix

treefmt.programs.json-sort-cli.indent-style

Specify the desired indentation style for output. Defaults to space. Overrides .editorconfig settings if an .editorconfig is found.

Type: one of “space”, “tab”

Default:

"space"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/json-sort-cli.nix

treefmt.programs.json-sort-cli.insert-final-newline

Insert a final newline after the sort. Defaults to false. Overrides .editorconfig settings if an .editorconfig is found.

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/json-sort-cli.nix

treefmt.programs.json-sort-cli.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/json-sort-cli.nix

treefmt.programs.jsonfmt.enable

Whether to enable jsonfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonfmt.nix

treefmt.programs.jsonfmt.package

The jsonfmt package to use.

Type: package

Default:

pkgs.jsonfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonfmt.nix

treefmt.programs.jsonfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonfmt.nix

treefmt.programs.jsonfmt.finalPackage

Resulting jsonfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonfmt.nix

treefmt.programs.jsonfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.json"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonfmt.nix

treefmt.programs.jsonfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonfmt.nix

treefmt.programs.jsonnet-lint.enable

Whether to enable jsonnet-lint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonnet-lint.nix

treefmt.programs.jsonnet-lint.package

The go-jsonnet package to use.

Type: package

Default:

pkgs.go-jsonnet

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonnet-lint.nix

treefmt.programs.jsonnet-lint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonnet-lint.nix

treefmt.programs.jsonnet-lint.finalPackage

Resulting jsonnet-lint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonnet-lint.nix

treefmt.programs.jsonnet-lint.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.jsonnet"
  "*.libsonnet"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonnet-lint.nix

treefmt.programs.jsonnet-lint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonnet-lint.nix

treefmt.programs.jsonnetfmt.enable

Whether to enable jsonnetfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonnetfmt.nix

treefmt.programs.jsonnetfmt.package

The go-jsonnet package to use.

Type: package

Default:

pkgs.go-jsonnet

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonnetfmt.nix

treefmt.programs.jsonnetfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonnetfmt.nix

treefmt.programs.jsonnetfmt.finalPackage

Resulting jsonnetfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonnetfmt.nix

treefmt.programs.jsonnetfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.jsonnet"
  "*.libsonnet"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonnetfmt.nix

treefmt.programs.jsonnetfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/jsonnetfmt.nix

treefmt.programs.just.enable

Whether to enable just.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/just.nix

treefmt.programs.just.package

The just package to use.

Type: package

Default:

pkgs.just

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/just.nix

treefmt.programs.just.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/just.nix

treefmt.programs.just.finalPackage

Resulting just package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/just.nix

treefmt.programs.just.includes

Path / file patterns to include

Type: list of string

Default:

[
  "[Jj][Uu][Ss][Tt][Ff][Ii][Ll][Ee]"
  "*/[Jj][Uu][Ss][Tt][Ff][Ii][Ll][Ee]"
  ".[Jj][Uu][Ss][Tt][Ff][Ii][Ll][Ee]"
  "*/.[Jj][Uu][Ss][Tt][Ff][Ii][Ll][Ee]"
  "*.[Jj][Uu][Ss][Tt]"
  "*.[Jj][Uu][Ss][Tt][Ff][Ii][Ll][Ee]"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/just.nix

treefmt.programs.just.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/just.nix

treefmt.programs.kdlfmt.enable

Whether to enable kdlfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/kdlfmt.nix

treefmt.programs.kdlfmt.package

The kdlfmt package to use.

Type: package

Default:

pkgs.kdlfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/kdlfmt.nix

treefmt.programs.kdlfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/kdlfmt.nix

treefmt.programs.kdlfmt.finalPackage

Resulting kdlfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/kdlfmt.nix

treefmt.programs.kdlfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.kdl"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/kdlfmt.nix

treefmt.programs.kdlfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/kdlfmt.nix

treefmt.programs.keep-sorted.enable

Whether to enable keep-sorted.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/keep-sorted.nix

treefmt.programs.keep-sorted.package

The keep-sorted package to use.

Type: package

Default:

pkgs.keep-sorted

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/keep-sorted.nix

treefmt.programs.keep-sorted.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/keep-sorted.nix

treefmt.programs.keep-sorted.finalPackage

Resulting keep-sorted package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/keep-sorted.nix

treefmt.programs.keep-sorted.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/keep-sorted.nix

treefmt.programs.keep-sorted.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/keep-sorted.nix

treefmt.programs.ktfmt.enable

Whether to enable ktfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ktfmt.nix

treefmt.programs.ktfmt.package

The ktfmt package to use.

Type: package

Default:

pkgs.ktfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ktfmt.nix

treefmt.programs.ktfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ktfmt.nix

treefmt.programs.ktfmt.finalPackage

Resulting ktfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ktfmt.nix

treefmt.programs.ktfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.kt"
  "*.kts"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ktfmt.nix

treefmt.programs.ktfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ktfmt.nix

treefmt.programs.ktlint.enable

Whether to enable ktlint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ktlint.nix

treefmt.programs.ktlint.package

The ktlint package to use.

Type: package

Default:

pkgs.ktlint

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ktlint.nix

treefmt.programs.ktlint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ktlint.nix

treefmt.programs.ktlint.finalPackage

Resulting ktlint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ktlint.nix

treefmt.programs.ktlint.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.kt"
  "*.kts"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ktlint.nix

treefmt.programs.ktlint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ktlint.nix

treefmt.programs.latexindent.enable

Whether to enable latexindent.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/latexindent.nix

treefmt.programs.latexindent.package

The texliveMedium package to use.

Type: package

Default:

pkgs.texliveMedium

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/latexindent.nix

treefmt.programs.latexindent.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/latexindent.nix

treefmt.programs.latexindent.finalPackage

Resulting latexindent package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/latexindent.nix

treefmt.programs.latexindent.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.tex"
  "*.sty"
  "*.cls"
  "*.bib"
  "*.cmh"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/latexindent.nix

treefmt.programs.latexindent.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/latexindent.nix

treefmt.programs.leptosfmt.enable

Whether to enable leptosfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/leptosfmt.nix

treefmt.programs.leptosfmt.package

The leptosfmt package to use.

Type: package

Default:

pkgs.leptosfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/leptosfmt.nix

treefmt.programs.leptosfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/leptosfmt.nix

treefmt.programs.leptosfmt.finalPackage

Resulting leptosfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/leptosfmt.nix

treefmt.programs.leptosfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.rs"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/leptosfmt.nix

treefmt.programs.leptosfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/leptosfmt.nix

treefmt.programs.mbake.enable

Whether to enable mbake.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.package

The mbake package to use.

Type: package

Default:

pkgs.mbake

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.finalPackage

Resulting mbake package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.includes

Path / file patterns to include

Type: list of string

Default:

[
  "Makefile"
  "*/Makefile"
  "*.Makefile"
  "Makefile.*"
  "makefile"
  "*/makefile"
  "*.makefile"
  "makefile.*"
  "*.mk"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.auto_insert_phony_declarations

Whether to automatically insert .PHONY declarations for non-file targets

Type: null or boolean

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.ensure_final_newline

Whether to ensure the file ends with a newline

Type: null or boolean

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.fix_missing_recipe_tabs

Whether to fix recipe lines that are missing tabs

Type: null or boolean

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.group_phony_declarations

Whether to group all .PHONY declarations together

Type: null or boolean

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.indent_nested_conditionals

Whether to indent nested conditional blocks (ifdef, ifndef, etc.)

Type: null or boolean

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.max_consecutive_empty_lines

Maximum number of consecutive empty lines allowed

Type: null or (unsigned integer, meaning >=0)

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.max_line_length

Maximum line length before wrapping

Type: null or (unsigned integer, meaning >=0)

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.normalize_empty_lines

Whether to normalize empty lines

Type: null or boolean

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.normalize_line_continuations

Whether to normalize line continuation backslashes

Type: null or boolean

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.phony_at_top

Whether to place .PHONY declarations at the top of the file

Type: null or boolean

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.remove_trailing_whitespace

Whether to remove trailing whitespace from lines

Type: null or boolean

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.space_after_colon

Whether to add a space after colons in rules

Type: null or boolean

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.space_around_assignment

Whether to add spaces around assignment operators (=, :=, etc.)

Type: null or boolean

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.space_before_colon

Whether to add a space before colons in rules

Type: null or boolean

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mbake.settings.tab_width

Tab width in spaces for display purposes

Type: null or (unsigned integer, meaning >=0)

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mbake.nix

treefmt.programs.mdformat.enable

Whether to enable mdformat.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdformat.nix

treefmt.programs.mdformat.package

The mdformat package to use.

Type: package

Default:

pkgs.mdformat

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdformat.nix

treefmt.programs.mdformat.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdformat.nix

treefmt.programs.mdformat.finalPackage

Resulting mdformat package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdformat.nix

treefmt.programs.mdformat.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.md"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdformat.nix

treefmt.programs.mdformat.plugins

Plugins for mdformat that extend its functionality (for Markdown extensions, formatting code blocks, etc).

See mdformat docs for a (non-exhaustive) list of plugins.

Type: function that evaluates to a(n) list of package

Default:

ps: [ ];

Example:

ps: [
  ps.mdformat-footnote
  ps.mdformat-gfm
];

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdformat.nix

treefmt.programs.mdformat.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdformat.nix

treefmt.programs.mdformat.settings.end-of-line

Output file line ending mode.

Type: null or one of “crlf”, “lf”, “keep”

Default:

null

Example:

"lf"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdformat.nix

treefmt.programs.mdformat.settings.number

Apply consecutive numbering to ordered lists.

Type: boolean

Default:

false

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdformat.nix

treefmt.programs.mdformat.settings.wrap

Paragraph word wrap mode. Set to an INTEGER to wrap at that length.

Type: null or signed integer or one of “keep”, “no”

Default:

null

Example:

"keep"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdformat.nix

treefmt.programs.mdsh.enable

Whether to enable mdsh.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdsh.nix

treefmt.programs.mdsh.package

The mdsh package to use.

Type: package

Default:

pkgs.mdsh

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdsh.nix

treefmt.programs.mdsh.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdsh.nix

treefmt.programs.mdsh.finalPackage

Resulting mdsh package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdsh.nix

treefmt.programs.mdsh.includes

Path / file patterns to include

Type: list of string

Default:

[
  "README.md"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdsh.nix

treefmt.programs.mdsh.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mdsh.nix

treefmt.programs.meson.enable

Whether to enable meson.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/meson.nix

treefmt.programs.meson.package

The meson package to use.

Type: package

Default:

pkgs.meson

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/meson.nix

treefmt.programs.meson.editorconfig

Try to read configuration from .editorconfig

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/meson.nix

treefmt.programs.meson.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/meson.nix

treefmt.programs.meson.finalPackage

Resulting meson package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/meson.nix

treefmt.programs.meson.includes

Path / file patterns to include

Type: list of string

Default:

[
  "meson.build"
  "meson.options"
  "meson_options.txt"
  "*/meson.build"
  "*/meson.options"
  "*/meson_options.txt"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/meson.nix

treefmt.programs.meson.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/meson.nix

treefmt.programs.mix-format.enable

Whether to enable mix-format.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mix-format.nix

treefmt.programs.mix-format.package

The elixir package to use.

Type: package

Default:

pkgs.elixir

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mix-format.nix

treefmt.programs.mix-format.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mix-format.nix

treefmt.programs.mix-format.finalPackage

Resulting mix-format package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mix-format.nix

treefmt.programs.mix-format.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.ex"
  "*.exs"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mix-format.nix

treefmt.programs.mix-format.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mix-format.nix

treefmt.programs.muon.enable

Whether to enable muon.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/muon.nix

treefmt.programs.muon.package

The muon package to use.

Type: package

Default:

pkgs.muon

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/muon.nix

treefmt.programs.muon.editorconfig

Try to read configuration from .editorconfig

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/muon.nix

treefmt.programs.muon.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/muon.nix

treefmt.programs.muon.finalPackage

Resulting muon package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/muon.nix

treefmt.programs.muon.includes

Path / file patterns to include

Type: list of string

Default:

[
  "meson.build"
  "meson.options"
  "meson_options.txt"
  "*/meson.build"
  "*/meson.options"
  "*/meson_options.txt"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/muon.nix

treefmt.programs.muon.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/muon.nix

treefmt.programs.mypy.enable

Whether to enable mypy.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mypy.nix

treefmt.programs.mypy.package

The mypy package to use.

Type: package

Default:

pkgs.mypy

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mypy.nix

treefmt.programs.mypy.directories

Directories to run mypy in

Type: attribute set of (submodule)

Default:

{
  "" = { };
}

Example:

{
  "" = {
    modules = [
      "mymodule"
      "tests"
    ];
  };
  subdir = { };
}

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mypy.nix

treefmt.programs.mypy.directories.\.directory

Directory to run mypy in

Type: string

Default:

"‹name›"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mypy.nix

treefmt.programs.mypy.directories.\.extraPythonPackages

Extra packages to add to PYTHONPATH

Type: list of package

Default:

[ ]

Example: [ pkgs.python3.pkgs.requests ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mypy.nix

treefmt.programs.mypy.directories.\.extraPythonPaths

Extra paths to add to PYTHONPATH. Paths are interpreted relative to the directory options and are added before extraPythonPackages.

Type: list of string

Default:

[ ]

Example:

[
  "path/to/my/module"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mypy.nix

treefmt.programs.mypy.directories.\.modules

Modules to check

Type: list of string

Default:

[
  ""
]

Example:

[
  "mymodule"
  "tests"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mypy.nix

treefmt.programs.mypy.directories.\.options

Options to pass to mypy

Type: list of string

Default:

[ ]

Example:

[
  "--ignore-missing-imports"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/mypy.nix

treefmt.programs.nbstripout.enable

Whether to enable nbstripout.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nbstripout.nix

treefmt.programs.nbstripout.package

The nbstripout package to use.

Type: package

Default:

pkgs.nbstripout

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nbstripout.nix

treefmt.programs.nbstripout.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nbstripout.nix

treefmt.programs.nbstripout.finalPackage

Resulting nbstripout package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nbstripout.nix

treefmt.programs.nbstripout.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.ipynb"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nbstripout.nix

treefmt.programs.nbstripout.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nbstripout.nix

treefmt.programs.nickel.enable

Whether to enable nickel.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nickel.nix

treefmt.programs.nickel.package

The nickel package to use.

Type: package

Default:

pkgs.nickel

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nickel.nix

treefmt.programs.nickel.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nickel.nix

treefmt.programs.nickel.finalPackage

Resulting nickel package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nickel.nix

treefmt.programs.nickel.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.ncl"
  "*.nickel"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nickel.nix

treefmt.programs.nickel.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nickel.nix

treefmt.programs.nimpretty.enable

Whether to enable nimpretty.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nimpretty.nix

treefmt.programs.nimpretty.package

The nim package to use.

Type: package

Default:

pkgs.nim

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nimpretty.nix

treefmt.programs.nimpretty.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nimpretty.nix

treefmt.programs.nimpretty.finalPackage

Resulting nimpretty package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nimpretty.nix

treefmt.programs.nimpretty.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.nim"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nimpretty.nix

treefmt.programs.nimpretty.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nimpretty.nix

treefmt.programs.nixf-diagnose.enable

Whether to enable nixf-diagnose.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixf-diagnose.nix

treefmt.programs.nixf-diagnose.package

The nixf-diagnose package to use.

Type: package

Default:

pkgs.nixf-diagnose

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixf-diagnose.nix

treefmt.programs.nixf-diagnose.autoFix

Whether to automatically apply fixes to source files.

Type: boolean

Default:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixf-diagnose.nix

treefmt.programs.nixf-diagnose.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixf-diagnose.nix

treefmt.programs.nixf-diagnose.finalPackage

Resulting nixf-diagnose package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixf-diagnose.nix

treefmt.programs.nixf-diagnose.ignore

Diagnostics to ignore, specified by their ID.

Type: list of string

Default:

[ ]

Example:

[
  "sema-primop-overridden"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixf-diagnose.nix

treefmt.programs.nixf-diagnose.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.nix"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixf-diagnose.nix

treefmt.programs.nixf-diagnose.only

Only run this diagnostic.

Type: null or string

Default:

null

Example:

"sema-primop-overridden"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixf-diagnose.nix

treefmt.programs.nixf-diagnose.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixf-diagnose.nix

treefmt.programs.nixf-diagnose.variableLookup

Whether to enable variable lookup analysis.

Type: null or boolean

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixf-diagnose.nix

treefmt.programs.nixfmt.enable

Whether to enable nixfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixfmt.nix

treefmt.programs.nixfmt.package

The nixfmt package to use.

Type: package

Default:

pkgs.nixfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixfmt.nix

treefmt.programs.nixfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixfmt.nix

treefmt.programs.nixfmt.finalPackage

Resulting nixfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixfmt.nix

treefmt.programs.nixfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.nix"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixfmt.nix

treefmt.programs.nixfmt.indent

Number of spaces to use for indentation [default: 2]

Type: null or signed integer

Default:

null

Example:

4

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixfmt.nix

treefmt.programs.nixfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixfmt.nix

treefmt.programs.nixfmt.strict

Enable a stricter formatting mode that isn’t influenced as much by how the input is formatted.

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixfmt.nix

treefmt.programs.nixfmt.width

Maximum width in characters [default: 100]

Type: null or signed integer

Default:

null

Example:

120

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixfmt.nix

treefmt.programs.nixpkgs-fmt.enable

Whether to enable nixpkgs-fmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixpkgs-fmt.nix

treefmt.programs.nixpkgs-fmt.package

The nixpkgs-fmt package to use.

Type: package

Default:

pkgs.nixpkgs-fmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixpkgs-fmt.nix

treefmt.programs.nixpkgs-fmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixpkgs-fmt.nix

treefmt.programs.nixpkgs-fmt.finalPackage

Resulting nixpkgs-fmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixpkgs-fmt.nix

treefmt.programs.nixpkgs-fmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.nix"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixpkgs-fmt.nix

treefmt.programs.nixpkgs-fmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/nixpkgs-fmt.nix

treefmt.programs.ocamlformat.enable

Whether to enable ocamlformat.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ocamlformat.nix

treefmt.programs.ocamlformat.package

The ocamlformat package to use.

Type: package

Default:

pkgs.ocamlformat

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ocamlformat.nix

treefmt.programs.ocamlformat.configFile

Path to the .ocamlformat file. Used to pick the right version of ocamlformat if passed.

Type: null or absolute path

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ocamlformat.nix

treefmt.programs.ocamlformat.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ocamlformat.nix

treefmt.programs.ocamlformat.finalPackage

Resulting ocamlformat package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ocamlformat.nix

treefmt.programs.ocamlformat.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.ml"
  "*.mli"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ocamlformat.nix

treefmt.programs.ocamlformat.pkgs

The package set used to get the ocamlformat package at a specific version.

Type: lazy attribute set of raw value

Default: Nixpkgs from context

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ocamlformat.nix

treefmt.programs.ocamlformat.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ocamlformat.nix

treefmt.programs.odinfmt.enable

Whether to enable odinfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/odinfmt.nix

treefmt.programs.odinfmt.package

The ols package to use.

Type: package

Default:

pkgs.ols

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/odinfmt.nix

treefmt.programs.odinfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/odinfmt.nix

treefmt.programs.odinfmt.finalPackage

Resulting odinfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/odinfmt.nix

treefmt.programs.odinfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.odin"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/odinfmt.nix

treefmt.programs.odinfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/odinfmt.nix

treefmt.programs.opa.enable

Whether to enable opa.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/opa.nix

treefmt.programs.opa.package

The open-policy-agent package to use.

Type: package

Default:

pkgs.open-policy-agent

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/opa.nix

treefmt.programs.opa.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/opa.nix

treefmt.programs.opa.finalPackage

Resulting opa package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/opa.nix

treefmt.programs.opa.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.rego"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/opa.nix

treefmt.programs.opa.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/opa.nix

treefmt.programs.ormolu.enable

Whether to enable ormolu.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ormolu.nix

treefmt.programs.ormolu.package

The ormolu package to use.

Type: package

Default:

pkgs.ormolu

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ormolu.nix

treefmt.programs.ormolu.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ormolu.nix

treefmt.programs.ormolu.finalPackage

Resulting ormolu package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ormolu.nix

treefmt.programs.ormolu.ghcOpts

Which GHC language extensions to enable

Type: unspecified value

Default:

[
  "BangPatterns"
  "PatternSynonyms"
  "TypeApplications"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ormolu.nix

treefmt.programs.ormolu.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.hs"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ormolu.nix

treefmt.programs.ormolu.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ormolu.nix

treefmt.programs.oxfmt.enable

Whether to enable oxfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxfmt.nix

treefmt.programs.oxfmt.package

The oxfmt package to use.

Type: package

Default:

pkgs.oxfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxfmt.nix

treefmt.programs.oxfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxfmt.nix

treefmt.programs.oxfmt.finalPackage

Resulting oxfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxfmt.nix

treefmt.programs.oxfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.cjs"
  "*.css"
  "*.graphql"
  "*.hbs"
  "*.html"
  "*.js"
  "*.json"
  "*.json5"
  "*.jsonc"
  "*.jsx"
  "*.md"
  "*.mdx"
  "*.mjs"
  "*.mustache"
  "*.scss"
  "*.ts"
  "*.tsx"
  "*.vue"
  "*.yaml"
  "*.yml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxfmt.nix

treefmt.programs.oxfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxfmt.nix

treefmt.programs.oxipng.enable

Whether to enable oxipng.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxipng.nix

treefmt.programs.oxipng.package

The oxipng package to use.

Type: package

Default:

pkgs.oxipng

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxipng.nix

treefmt.programs.oxipng.alpha

Whether to enable Perform additional optimization on images with an alpha channel.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxipng.nix

treefmt.programs.oxipng.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxipng.nix

treefmt.programs.oxipng.finalPackage

Resulting oxipng package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxipng.nix

treefmt.programs.oxipng.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.png"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxipng.nix

treefmt.programs.oxipng.opt

Set the optimization level preset

Type: string

Default:

"2"

Example:

"max"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxipng.nix

treefmt.programs.oxipng.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxipng.nix

treefmt.programs.oxipng.scale16

Whether to enable Forcibly reduce images with 16 bits per channel to 8 bits per channel.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxipng.nix

treefmt.programs.oxipng.strip

Strip metadata chunks

Type: null or string

Default:

null

Example:

"safe"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/oxipng.nix

treefmt.programs.packer.enable

Whether to enable packer.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/packer.nix

treefmt.programs.packer.package

The packer package to use.

Type: package

Default:

pkgs.packer

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/packer.nix

treefmt.programs.packer.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/packer.nix

treefmt.programs.packer.finalPackage

Resulting packer package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/packer.nix

treefmt.programs.packer.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.pkr.hcl"
  "*.pkrvars.hcl"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/packer.nix

treefmt.programs.packer.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/packer.nix

treefmt.programs.perltidy.enable

Whether to enable perltidy.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/perltidy.nix

treefmt.programs.perltidy.package

The PerlTidy package to use.

Type: package

Default:

pkgs.perlPackages.PerlTidy

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/perltidy.nix

treefmt.programs.perltidy.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/perltidy.nix

treefmt.programs.perltidy.finalPackage

Resulting perltidy package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/perltidy.nix

treefmt.programs.perltidy.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.pl"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/perltidy.nix

treefmt.programs.perltidy.perltidyrc

A path for perltidy’s configuration file, usually named .perltidyrc

Type: null or absolute path

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/perltidy.nix

treefmt.programs.perltidy.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/perltidy.nix

treefmt.programs.php-cs-fixer.enable

Whether to enable php-cs-fixer.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/php-cs-fixer.nix

treefmt.programs.php-cs-fixer.package

The php-cs-fixer package to use.

Type: package

Default:

pkgs.php83Packages.php-cs-fixer

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/php-cs-fixer.nix

treefmt.programs.php-cs-fixer.configFile

Path to php-cs-fixer config file.

Type: string or absolute path

Default:

"./.php-cs-fixer.php"

Example:

"./.php-cs-fixer.dist.php"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/php-cs-fixer.nix

treefmt.programs.php-cs-fixer.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/php-cs-fixer.nix

treefmt.programs.php-cs-fixer.finalPackage

Resulting php-cs-fixer package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/php-cs-fixer.nix

treefmt.programs.php-cs-fixer.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.php"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/php-cs-fixer.nix

treefmt.programs.php-cs-fixer.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/php-cs-fixer.nix

treefmt.programs.pinact.enable

Whether to enable pinact.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/pinact.nix

treefmt.programs.pinact.package

The pinact package to use.

Type: package

Default:

pkgs.pinact

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/pinact.nix

treefmt.programs.pinact.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/pinact.nix

treefmt.programs.pinact.finalPackage

Resulting pinact package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/pinact.nix

treefmt.programs.pinact.includes

Path / file patterns to include

Type: list of string

Default:

[
  ".github/workflows/*.yml"
  ".github/workflows/*.yaml"
  "**/action.yml"
  "**/action.yaml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/pinact.nix

treefmt.programs.pinact.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/pinact.nix

treefmt.programs.pinact.settings

Configuration for pinact, see \ for supported values.

Type: open submodule of (YAML 1.1 value)

Default:

{ }

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/pinact.nix

treefmt.programs.pinact.update

Update actions to latest versions.

Type: boolean

Default:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/pinact.nix

treefmt.programs.pinact.verify

Verify if pairs of commit SHA and version are correct.

Type: boolean

Default:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/pinact.nix

treefmt.programs.prettier.enable

Whether to enable prettier.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.package

The prettier package to use.

Type: package

Default:

pkgs.nodePackages.prettier

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.finalPackage

Resulting prettier package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.cjs"
  "*.css"
  "*.html"
  "*.js"
  "*.json"
  "*.json5"
  "*.jsx"
  "*.md"
  "*.mdx"
  "*.mjs"
  "*.scss"
  "*.ts"
  "*.tsx"
  "*.vue"
  "*.yaml"
  "*.yml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.arrowParens

Include parentheses around a sole arrow function parameter.

Type: null or one of “always”, “avoid”

Default:

null

Example:

"always"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.bracketSameLine

Put > of opening tags on the last line instead of on a new line.

Type: null or boolean

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.bracketSpacing

Print spaces between brackets

Type: null or boolean

Default:

null

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.cursorOffset

Print (to stderr) where a cursor at the given position would move to after formatting. This option cannot be used with --range-start and –range-end.

Type: null or signed integer

Default:

null

Example:

-1

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.editorconfig

Whether parse the .editorconfig file in your project and convert its properties to the corresponding Prettier configuration. This configuration will be overridden by .prettierrc, etc.

Type: null or boolean

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.embeddedLanguageFormatting

Control how Prettier formats quoted code embedded in the file.

Type: null or one of “auto”, “off”

Default:

null

Example:

"auto"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.endOfLine

Which end of line characters to apply.

Type: null or one of “lf”, “crlf”, “cr”, “auto”

Default:

null

Example:

"lf"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.filepath

Specify the input filepath. This will be used to do parser inference.

Type: null or string

Default:

null

Example:

"example.js"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.htmlWhitespaceSensitivity

How to handle whitespaces in HTML.

Type: null or one of “css”, “strict”, “ignore”

Default:

null

Example:

"css"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.insertPragma

Insert @format pragma into file’s first docblock commentypes.

Type: null or boolean

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.jsxSingleQuote

Use single quotes in JSX

Type: null or boolean

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.overrides

Provide a list of patterns to override prettier configuration.

Type: null or (list of (attribute set))

Default:

null

Example:

{
  files = [
    "*.html"
    "legacy/**/*.js"
  ];
  options = {
    tabwidth = 4;
  };
}

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.parser

Which parser to use.

Type: null or one of “flow”, “babel”, “babel-flow”, “babel-ts”, “typescript”, “acorn”, “espree”, “meriyah”, “css”, “less”, “scss”, “json”, “json5”, “json-stringify”, “graphql”, “markdown”, “mdx”, “vue”, “yaml”, “glimmer”, “html”, “angular”, “lwc” or string

Default:

null

Example:

"typescript"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.pluginSearchDirs

Custom directory that contains prettier plugins in node_modules subdirectory. Overrides default behavior when plugins are searched relatively to the location of Prettier.\nMultiple values are accepted.

Type: null or (list of string) or value false (singular enum)

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.plugins

Add a plugin. Multiple plugins can be passed as separate --plugins.

Type: null or (list of string)

Default:

null

Example:

[
  "@prettier/plugin-xml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.printWidth

The line length where Prettier will try wrap.

Type: null or signed integer

Default:

null

Example:

80

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.proseWrap

How to wrap prose.

Type: null or one of “always”, “never”, “preserve”

Default:

null

Example:

"preserve"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.quoteProps

Change when properties in objects are quoted

Type: null or one of “as-needed”, “consistent”, “preserve”

Default:

null

Example:

"as-needed"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.rangeEnd

Format code ending at a given character offset (exclusive). The range will extend forwards to the end of the selected statementypes. This option cannot be used with --cursor-offsetypes.

Type: null or string

Default:

null

Example:

0

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.rangeStart

Format code starting at a given character offsetypes. The range will extend backwards to the start of the first line containing the selected statementypes. his option cannot be used with --cursor-offsetypes.

Type: null or signed integer

Default:

null

Example:

0

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.requirePragma

Require either ‘@prettier’ or ‘@format’ to be present in the file’s first docblock comment\nin order for it to be formatted.

Type: null or boolean

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.semi

Print semicolons.

Type: null or boolean

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.singleAttributePerLine

Enforce single attribute per line in HTML, Vue and JSX.

Type: null or boolean

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.singleQuote

Use single quotes instead of double quotes.

Type: null or boolean

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.tabWidth

Number of spaces per indentation level.

Type: null or signed integer

Default:

null

Example:

2

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.trailingComma

Print trailing commas wherever possible when multi-line.

Type: null or one of “es5”, “none”, “all”

Default:

null

Example:

"es5"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.useTabs

Indent with tabs instead of spaces

Type: null or boolean

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.prettier.settings.vueIndentScriptAndStyle

Indent script and style tags in Vue files.

Type: null or boolean

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/prettier.nix

treefmt.programs.protolint.enable

Whether to enable protolint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/protolint.nix

treefmt.programs.protolint.package

The protolint package to use.

Type: package

Default:

pkgs.protolint

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/protolint.nix

treefmt.programs.protolint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/protolint.nix

treefmt.programs.protolint.finalPackage

Resulting protolint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/protolint.nix

treefmt.programs.protolint.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.proto"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/protolint.nix

treefmt.programs.protolint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/protolint.nix

treefmt.programs.qmlformat.enable

Whether to enable qmlformat.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/qmlformat.nix

treefmt.programs.qmlformat.package

The qtdeclarative package to use.

Type: package

Default:

pkgs.kdePackages.qtdeclarative

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/qmlformat.nix

treefmt.programs.qmlformat.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/qmlformat.nix

treefmt.programs.qmlformat.finalPackage

Resulting qmlformat package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/qmlformat.nix

treefmt.programs.qmlformat.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.qml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/qmlformat.nix

treefmt.programs.qmlformat.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/qmlformat.nix

treefmt.programs.rstfmt.enable

Whether to enable rstfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rstfmt.nix

treefmt.programs.rstfmt.package

The rstfmt package to use.

Type: package

Default:

pkgs.rstfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rstfmt.nix

treefmt.programs.rstfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rstfmt.nix

treefmt.programs.rstfmt.finalPackage

Resulting rstfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rstfmt.nix

treefmt.programs.rstfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.rst"
  "*.txt"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rstfmt.nix

treefmt.programs.rstfmt.line_length

Sets the line length.

Type: signed integer

Default:

72

Example:

80

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rstfmt.nix

treefmt.programs.rstfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rstfmt.nix

treefmt.programs.rubocop.enable

Whether to enable rubocop.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rubocop.nix

treefmt.programs.rubocop.package

The rubocop package to use.

Type: package

Default:

pkgs.rubocop

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rubocop.nix

treefmt.programs.rubocop.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rubocop.nix

treefmt.programs.rubocop.finalPackage

Resulting rubocop package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rubocop.nix

treefmt.programs.rubocop.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.rb"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rubocop.nix

treefmt.programs.rubocop.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rubocop.nix

treefmt.programs.ruff-check.enable

Whether to enable ruff-check.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-check.nix

treefmt.programs.ruff-check.package

The ruff package to use.

Type: package

Default:

pkgs.ruff

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-check.nix

treefmt.programs.ruff-check.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-check.nix

treefmt.programs.ruff-check.extendSelect

–extend-select options

Type: list of string

Default:

[ ]

Example:

[
  "I"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-check.nix

treefmt.programs.ruff-check.finalPackage

Resulting ruff-check package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-check.nix

treefmt.programs.ruff-check.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.py"
  "*.pyi"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-check.nix

treefmt.programs.ruff-check.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-check.nix

treefmt.programs.ruff-format.enable

Whether to enable ruff-format.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-format.nix

treefmt.programs.ruff-format.package

The ruff package to use.

Type: package

Default:

pkgs.ruff

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-format.nix

treefmt.programs.ruff-format.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-format.nix

treefmt.programs.ruff-format.finalPackage

Resulting ruff-format package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-format.nix

treefmt.programs.ruff-format.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.py"
  "*.pyi"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-format.nix

treefmt.programs.ruff-format.lineLength

Set the line-length.

Type: null or signed integer

Default:

null

Example:

79

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-format.nix

treefmt.programs.ruff-format.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/ruff-format.nix

treefmt.programs.rufo.enable

Whether to enable rufo.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rufo.nix

treefmt.programs.rufo.package

The rufo package to use.

Type: package

Default:

pkgs.rufo

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rufo.nix

treefmt.programs.rufo.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rufo.nix

treefmt.programs.rufo.finalPackage

Resulting rufo package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rufo.nix

treefmt.programs.rufo.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.rb"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rufo.nix

treefmt.programs.rufo.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rufo.nix

treefmt.programs.rumdl-check.enable

Whether to enable rumdl-check.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rumdl-check.nix

treefmt.programs.rumdl-check.package

The rumdl package to use.

Type: package

Default:

pkgs.rumdl

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rumdl-check.nix

treefmt.programs.rumdl-check.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rumdl-check.nix

treefmt.programs.rumdl-check.finalPackage

Resulting rumdl-check package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rumdl-check.nix

treefmt.programs.rumdl-check.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.md"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rumdl-check.nix

treefmt.programs.rumdl-check.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rumdl-check.nix

treefmt.programs.rumdl-format.enable

Whether to enable rumdl-format.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rumdl-format.nix

treefmt.programs.rumdl-format.package

The rumdl package to use.

Type: package

Default:

pkgs.rumdl

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rumdl-format.nix

treefmt.programs.rumdl-format.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rumdl-format.nix

treefmt.programs.rumdl-format.finalPackage

Resulting rumdl-format package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rumdl-format.nix

treefmt.programs.rumdl-format.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.md"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rumdl-format.nix

treefmt.programs.rumdl-format.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rumdl-format.nix

treefmt.programs.rustfmt.enable

Whether to enable rustfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rustfmt.nix

treefmt.programs.rustfmt.package

The rustfmt package to use.

Type: package

Default:

pkgs.rustfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rustfmt.nix

treefmt.programs.rustfmt.edition

Rust edition to target when formatting

Type: string

Default:

"2024"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rustfmt.nix

treefmt.programs.rustfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rustfmt.nix

treefmt.programs.rustfmt.finalPackage

Resulting rustfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rustfmt.nix

treefmt.programs.rustfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.rs"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rustfmt.nix

treefmt.programs.rustfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/rustfmt.nix

treefmt.programs.scalafmt.enable

Whether to enable scalafmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/scalafmt.nix

treefmt.programs.scalafmt.package

The scalafmt package to use.

Type: package

Default:

pkgs.scalafmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/scalafmt.nix

treefmt.programs.scalafmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/scalafmt.nix

treefmt.programs.scalafmt.finalPackage

Resulting scalafmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/scalafmt.nix

treefmt.programs.scalafmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.sbt"
  "*.scala"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/scalafmt.nix

treefmt.programs.scalafmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/scalafmt.nix

treefmt.programs.shellcheck.enable

Whether to enable shellcheck.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shellcheck.nix

treefmt.programs.shellcheck.package

The shellcheck package to use.

Type: package

Default:

pkgs.shellcheck

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shellcheck.nix

treefmt.programs.shellcheck.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shellcheck.nix

treefmt.programs.shellcheck.external-sources

Whether to enable Allow sources outside of includes.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shellcheck.nix

treefmt.programs.shellcheck.extra-checks

List of optional checks to enable (or “all”)

Type: list of string

Default:

[ ]

Example:

[
  "all"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shellcheck.nix

treefmt.programs.shellcheck.finalPackage

Resulting shellcheck package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shellcheck.nix

treefmt.programs.shellcheck.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.sh"
  "*.bash"
  "*.envrc"
  "*.envrc.*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shellcheck.nix

treefmt.programs.shellcheck.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shellcheck.nix

treefmt.programs.shellcheck.severity

Minimum severity of errors to consider (“error”, “warning”, “info”, “style”)

Type: null or string

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shellcheck.nix

treefmt.programs.shellcheck.source-path

Specify path when looking for sourced files (“SCRIPTDIR” for script’s dir)

Type: null or string

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shellcheck.nix

treefmt.programs.shfmt.enable

Whether to enable shfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shfmt.nix

treefmt.programs.shfmt.package

The shfmt package to use.

Type: package

Default:

pkgs.shfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shfmt.nix

treefmt.programs.shfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shfmt.nix

treefmt.programs.shfmt.finalPackage

Resulting shfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shfmt.nix

treefmt.programs.shfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.sh"
  "*.bash"
  "*.envrc"
  "*.envrc.*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shfmt.nix

treefmt.programs.shfmt.indent_size

Sets the number of spaces to be used in indentation. Uses tabs if set to zero.

Type: null or signed integer

Default:

2

Example:

4

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shfmt.nix

treefmt.programs.shfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shfmt.nix

treefmt.programs.shfmt.simplify

Enables the -s (--simplify) flag, which simplifies code where possible.

Type: boolean

Default:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shfmt.nix

treefmt.programs.shfmt.useEditorConfig

Whether to enable Use .editorconfig file for formatting. This is mutually exlusive with all other settings. See shfmt docs. .

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/shfmt.nix

treefmt.programs.sizelint.enable

Whether to enable sizelint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sizelint.nix

treefmt.programs.sizelint.package

The sizelint package to use.

Type: package

Default:

pkgs.sizelint

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sizelint.nix

treefmt.programs.sizelint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sizelint.nix

treefmt.programs.sizelint.failOnWarn

Whether to enable fail-on-warn.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sizelint.nix

treefmt.programs.sizelint.finalPackage

Resulting sizelint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sizelint.nix

treefmt.programs.sizelint.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sizelint.nix

treefmt.programs.sizelint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sizelint.nix

treefmt.programs.sizelint.settings

Configuration to generate sizelint.toml with

Type: open submodule of (TOML value)

Default:

{ }

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sizelint.nix

treefmt.programs.sql-formatter.enable

Whether to enable sql-formatter.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sql-formatter.nix

treefmt.programs.sql-formatter.package

The sql-formatter package to use.

Type: package

Default:

pkgs.sql-formatter

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sql-formatter.nix

treefmt.programs.sql-formatter.dialect

The sql dialect to use for formatting

Type: null or one of “bigquery”, “db2”, “db2i”, “hive”, “mariadb”, “mysql”, “n1ql”, “plsql”, “postgresql”, “redshift”, “spark”, “sqlite”, “sql”, “tidb”, “trino”, “transactsql”, “tsql”, “singlestoredb”, “snowflake”

Default:

null

Example:

"postgresql"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sql-formatter.nix

treefmt.programs.sql-formatter.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sql-formatter.nix

treefmt.programs.sql-formatter.finalPackage

Resulting sql-formatter package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sql-formatter.nix

treefmt.programs.sql-formatter.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.sql"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sql-formatter.nix

treefmt.programs.sql-formatter.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sql-formatter.nix

treefmt.programs.sqlfluff.enable

Whether to enable sqlfluff.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff.nix

treefmt.programs.sqlfluff.package

The sqlfluff package to use.

Type: package

Default:

pkgs.sqlfluff

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff.nix

treefmt.programs.sqlfluff.dialect

The sql dialect to use for formatting

Type: null or one of “db2”, “ansi”, “soql”, “tsql”, “hive”, “trino”, “mysql”, “oracle”, “sqlite”, “duckdb”, “exasol”, “athena”, “mariadb”, “vertica”, “teradata”, “redshift”, “sparksql”, “bigquery”, “postgres”, “greenplum”, “snowflake”, “materializ”, “clickhouse”, “databricks”

Default:

null

Example:

"sqlite"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff.nix

treefmt.programs.sqlfluff.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff.nix

treefmt.programs.sqlfluff.finalPackage

Resulting sqlfluff package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff.nix

treefmt.programs.sqlfluff.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.sql"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff.nix

treefmt.programs.sqlfluff.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff.nix

treefmt.programs.sqlfluff-lint.enable

Whether to enable sqlfluff-lint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff-lint.nix

treefmt.programs.sqlfluff-lint.package

The sqlfluff package to use.

Type: package

Default:

pkgs.sqlfluff

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff-lint.nix

treefmt.programs.sqlfluff-lint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff-lint.nix

treefmt.programs.sqlfluff-lint.finalPackage

Resulting sqlfluff-lint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff-lint.nix

treefmt.programs.sqlfluff-lint.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.sql"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff-lint.nix

treefmt.programs.sqlfluff-lint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqlfluff-lint.nix

treefmt.programs.sqruff.enable

Whether to enable sqruff.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqruff.nix

treefmt.programs.sqruff.package

The sqruff package to use.

Type: package

Default:

pkgs.sqruff

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqruff.nix

treefmt.programs.sqruff.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqruff.nix

treefmt.programs.sqruff.finalPackage

Resulting sqruff package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqruff.nix

treefmt.programs.sqruff.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.sql"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqruff.nix

treefmt.programs.sqruff.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/sqruff.nix

treefmt.programs.statix.enable

Whether to enable statix.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/statix.nix

treefmt.programs.statix.package

The statix package to use.

Type: package

Default:

pkgs.statix

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/statix.nix

treefmt.programs.statix.disabled-lints

List of ignored lints. Run statix list to see all available lints.

Type: list of string

Default:

[ ]

Example:

[
  "empty_pattern"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/statix.nix

treefmt.programs.statix.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/statix.nix

treefmt.programs.statix.finalPackage

Resulting statix package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/statix.nix

treefmt.programs.statix.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.nix"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/statix.nix

treefmt.programs.statix.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/statix.nix

treefmt.programs.stylish-haskell.enable

Whether to enable stylish-haskell.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylish-haskell.nix

treefmt.programs.stylish-haskell.package

The stylish-haskell package to use.

Type: package

Default:

pkgs.stylish-haskell

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylish-haskell.nix

treefmt.programs.stylish-haskell.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylish-haskell.nix

treefmt.programs.stylish-haskell.finalPackage

Resulting stylish-haskell package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylish-haskell.nix

treefmt.programs.stylish-haskell.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.hs"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylish-haskell.nix

treefmt.programs.stylish-haskell.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylish-haskell.nix

treefmt.programs.stylua.enable

Whether to enable stylua.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.package

The stylua package to use.

Type: package

Default:

pkgs.stylua

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.finalPackage

Resulting stylua package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.lua"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.settings.call_parentheses

Whether parentheses should be applied on function calls with a single string/table argument. Always applies parentheses in all cases. NoSingleString omits parentheses on calls with a single string argument. Similarly, NoSingleTable omits parentheses on calls with a single table argument. None omits parentheses in both cases.

Note: parentheses are still kept in situations where removal can lead to obscurity (e.g. foo "bar".setup -> foo("bar").setup, since the index is on the call result, not the string).

Input removes all automation and preserves parentheses only if they were present in input code: consistency is not enforced.

Type: null or one of “Always”, “NoSingleString”, “NoSingleTable”, “None”, “Input”

Default:

null

Example:

"Always"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.settings.collapse_simple_statement

Specify whether to collapse simple statements.

Type: null or one of “Never”, “FunctionOnly”, “ConditionalOnly”, “Always”

Default:

null

Example:

"Never"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.settings.column_width

Approximate line length for printing.

Used as a guide for line wrapping - this is not a hard requirement: lines may fall under or over the limit.

Type: null or signed integer

Default:

null

Example:

120

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.settings.indent_type

Indent type.

Type: null or one of “Tabs”, “Spaces”

Default:

null

Example:

"Tabs"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.settings.indent_width

Character size of single indentation.

If indent_type is set to Tabs, this option is used as a heuristic to determine column width only.

Type: null or signed integer

Default:

null

Example:

4

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.settings.line_endings

Line endings type.

Type: null or one of “Unix”, “Windows”

Default:

null

Example:

"Unix"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.settings.quote_style

Quote style for string literals.

AutoPrefer styles will prefer the specified quote style, but fall back to the alternative if it has fewer string escapes. Force styles always use the specified style regardless of escapes.

Type: null or one of “AutoPreferDouble”, “AutoPreferSingle”, “ForceDouble”, “ForceSingle”

Default:

null

Example:

"AutoPreferDouble"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.stylua.settings.sort_requires.enabled

StyLua has built-in support for sorting require statements. We group consecutive require statements into a single “block”, and then requires are sorted only within that block. Blocks of requires do not move around the file.

We only include requires of the form local NAME = require(EXPR), and sort lexicographically based on NAME. (We also sort Roblox services of the form local NAME = game:GetService(EXPR))

Type: null or boolean

Default:

null

Example:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/stylua.nix

treefmt.programs.swift-format.enable

Whether to enable swift-format.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/swift-format.nix

treefmt.programs.swift-format.package

The swift-format package to use.

Type: package

Default:

pkgs.swift-format

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/swift-format.nix

treefmt.programs.swift-format.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/swift-format.nix

treefmt.programs.swift-format.finalPackage

Resulting swift-format package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/swift-format.nix

treefmt.programs.swift-format.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.swift"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/swift-format.nix

treefmt.programs.swift-format.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/swift-format.nix

treefmt.programs.taplo.enable

Whether to enable taplo.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/taplo.nix

treefmt.programs.taplo.package

The taplo package to use.

Type: package

Default:

pkgs.taplo

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/taplo.nix

treefmt.programs.taplo.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/taplo.nix

treefmt.programs.taplo.finalPackage

Resulting taplo package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/taplo.nix

treefmt.programs.taplo.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.toml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/taplo.nix

treefmt.programs.taplo.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/taplo.nix

treefmt.programs.taplo.settings

Configuration to generate taplo.toml with

Type: open submodule of (TOML value)

Default:

{ }

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/taplo.nix

treefmt.programs.templ.enable

Whether to enable templ.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/templ.nix

treefmt.programs.templ.package

The templ package to use.

Type: package

Default:

pkgs.templ

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/templ.nix

treefmt.programs.templ.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/templ.nix

treefmt.programs.templ.finalPackage

Resulting templ package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/templ.nix

treefmt.programs.templ.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.templ"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/templ.nix

treefmt.programs.templ.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/templ.nix

treefmt.programs.terraform.enable

Whether to enable terraform.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/terraform.nix

treefmt.programs.terraform.package

The opentofu package to use.

Type: package

Default:

pkgs.opentofu

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/terraform.nix

treefmt.programs.terraform.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/terraform.nix

treefmt.programs.terraform.finalPackage

Resulting terraform package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/terraform.nix

treefmt.programs.terraform.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.tf"
  "*.tfvars"
  "*.tftest.hcl"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/terraform.nix

treefmt.programs.terraform.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/terraform.nix

treefmt.programs.texfmt.enable

Whether to enable texfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/texfmt.nix

treefmt.programs.texfmt.package

The tex-fmt package to use.

Type: package

Default:

pkgs.tex-fmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/texfmt.nix

treefmt.programs.texfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/texfmt.nix

treefmt.programs.texfmt.finalPackage

Resulting texfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/texfmt.nix

treefmt.programs.texfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.tex"
  "*.sty"
  "*.cls"
  "*.bib"
  "*.cmh"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/texfmt.nix

treefmt.programs.texfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/texfmt.nix

treefmt.programs.tilt.enable

Whether to enable tilt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/tilt.nix

treefmt.programs.tilt.package

The bazel-buildtools package to use.

Type: package

Default:

pkgs.bazel-buildtools

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/tilt.nix

treefmt.programs.tilt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/tilt.nix

treefmt.programs.tilt.finalPackage

Resulting tilt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/tilt.nix

treefmt.programs.tilt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "Tiltfile"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/tilt.nix

treefmt.programs.tilt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/tilt.nix

treefmt.programs.toml-sort.enable

Whether to enable toml-sort.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/toml-sort.nix

treefmt.programs.toml-sort.package

The toml-sort package to use.

Type: package

Default:

pkgs.toml-sort

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/toml-sort.nix

treefmt.programs.toml-sort.all

Whether to enable sort ALL keys.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/toml-sort.nix

treefmt.programs.toml-sort.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/toml-sort.nix

treefmt.programs.toml-sort.finalPackage

Resulting toml-sort package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/toml-sort.nix

treefmt.programs.toml-sort.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.toml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/toml-sort.nix

treefmt.programs.toml-sort.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/toml-sort.nix

treefmt.programs.typos.enable

Whether to enable typos.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.package

The typos package to use.

Type: package

Default:

pkgs.typos

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.binary

Search binary files

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.configFile

Custom config file

Type: null or string

Default:

null

Example:

"typos.toml"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.finalPackage

Resulting typos package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.hidden

Search hidden files and directories

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.isolated

Ignore implicit configuration files

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.locale

Language locale to suggest corrections for [possible values: en, en-us, en-gb, en-ca, en-au]

Type: null or one of “en”, “en-us”, “en-gb”, “en-ca”, “en-au”

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.noCheckFilenames

Skip verifying spelling in file names

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.noCheckFiles

Skip verifying spelling in files

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.noIgnore

Don’t respect ignore files

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.noIgnoreDot

Don’t respect .ignore files

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.noIgnoreGlobal

Don’t respect global ignore files

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.noIgnoreParent

Don’t respect ignore files in parent directories

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.noIgnoreVCS

Don’t respect ignore files in vsc directories

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.noUnicode

Only allow ASCII characters in identifiers

Type: boolean

Default:

false

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.sort

Sort results

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typos.threads

The approximate number of threads to use [default: 0]

Type: null or signed integer

Default:

null

Example:

2

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typos.nix

treefmt.programs.typstyle.enable

Whether to enable typstyle.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typstyle.nix

treefmt.programs.typstyle.package

The typstyle package to use.

Type: package

Default:

pkgs.typstyle

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typstyle.nix

treefmt.programs.typstyle.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typstyle.nix

treefmt.programs.typstyle.finalPackage

Resulting typstyle package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typstyle.nix

treefmt.programs.typstyle.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.typ"
  "*.typst"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typstyle.nix

treefmt.programs.typstyle.indentWidth

Number of spaces per indent level (default: 2).

Type: null or signed integer

Default:

null

Example:

4

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typstyle.nix

treefmt.programs.typstyle.lineWidth

Maximum line width in characters (default: 80).

Type: null or signed integer

Default:

null

Example:

100

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typstyle.nix

treefmt.programs.typstyle.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typstyle.nix

treefmt.programs.typstyle.wrapText

Whether to enable line wrapping of markup text.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/typstyle.nix

treefmt.programs.wgslfmt.enable

Whether to enable wgslfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/wgslfmt.nix

treefmt.programs.wgslfmt.package

The wgsl-analyzer package to use.

Type: package

Default:

pkgs.wgsl-analyzer

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/wgslfmt.nix

treefmt.programs.wgslfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/wgslfmt.nix

treefmt.programs.wgslfmt.finalPackage

Resulting wgslfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/wgslfmt.nix

treefmt.programs.wgslfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.wgsl"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/wgslfmt.nix

treefmt.programs.wgslfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/wgslfmt.nix

treefmt.programs.wgslfmt.tabs

Whether to enable Use tabs for indentation (instead of spaces).

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/wgslfmt.nix

treefmt.programs.xmllint.enable

Whether to enable xmllint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/xmllint.nix

treefmt.programs.xmllint.package

The libxml2 package to use.

Type: package

Default:

pkgs.libxml2

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/xmllint.nix

treefmt.programs.xmllint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/xmllint.nix

treefmt.programs.xmllint.finalPackage

Resulting xmllint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/xmllint.nix

treefmt.programs.xmllint.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.xml"
  "*.svg"
  "*.xhtml"
  "*.xsl"
  "*.xslt"
  "*.dtd"
  "*.xsd"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/xmllint.nix

treefmt.programs.xmllint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/xmllint.nix

treefmt.programs.yamlfmt.enable

Whether to enable yamlfmt.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamlfmt.nix

treefmt.programs.yamlfmt.package

The yamlfmt package to use.

Type: package

Default:

pkgs.yamlfmt

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamlfmt.nix

treefmt.programs.yamlfmt.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamlfmt.nix

treefmt.programs.yamlfmt.finalPackage

Resulting yamlfmt package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamlfmt.nix

treefmt.programs.yamlfmt.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.yaml"
  "*.yml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamlfmt.nix

treefmt.programs.yamlfmt.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamlfmt.nix

treefmt.programs.yamlfmt.settings

Configuration for yamlfmt, see \ for supported values.

Type: open submodule of (YAML 1.1 value)

Default:

{ }

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamlfmt.nix

treefmt.programs.yamllint.enable

Whether to enable yamllint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamllint.nix

treefmt.programs.yamllint.package

The yamllint package to use.

Type: package

Default:

pkgs.yamllint

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamllint.nix

treefmt.programs.yamllint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamllint.nix

treefmt.programs.yamllint.finalPackage

Resulting yamllint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamllint.nix

treefmt.programs.yamllint.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.yaml"
  "*.yml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamllint.nix

treefmt.programs.yamllint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamllint.nix

treefmt.programs.yamllint.settings

Configuration for yamllint, see \ for supported values.

Type: open submodule of (YAML 1.1 value)

Default:

{ }

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yamllint.nix

treefmt.programs.yapf.enable

Whether to enable yapf.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yapf.nix

treefmt.programs.yapf.package

The yapf package to use.

Type: package

Default:

pkgs.yapf

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yapf.nix

treefmt.programs.yapf.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yapf.nix

treefmt.programs.yapf.finalPackage

Resulting yapf package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yapf.nix

treefmt.programs.yapf.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.py"
  "*.pyi"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yapf.nix

treefmt.programs.yapf.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/yapf.nix

treefmt.programs.zig.enable

Whether to enable zig.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zig.nix

treefmt.programs.zig.package

The zig package to use.

Type: package

Default:

pkgs.zig

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zig.nix

treefmt.programs.zig.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zig.nix

treefmt.programs.zig.finalPackage

Resulting zig package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zig.nix

treefmt.programs.zig.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.zig"
  "*.zon"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zig.nix

treefmt.programs.zig.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zig.nix

treefmt.programs.zizmor.enable

Whether to enable zizmor.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zizmor.nix

treefmt.programs.zizmor.package

The zizmor package to use.

Type: package

Default:

pkgs.zizmor

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zizmor.nix

treefmt.programs.zizmor.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zizmor.nix

treefmt.programs.zizmor.finalPackage

Resulting zizmor package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zizmor.nix

treefmt.programs.zizmor.includes

Path / file patterns to include

Type: list of string

Default:

[
  ".github/workflows/*.yml"
  ".github/workflows/*.yaml"
  ".github/actions/**/*.yml"
  ".github/actions/**/*.yaml"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zizmor.nix

treefmt.programs.zizmor.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zizmor.nix

treefmt.programs.zprint.enable

Whether to enable zprint.

Type: boolean

Default:

false

Example:

true

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zprint.nix

treefmt.programs.zprint.package

The zprint package to use.

Type: package

Default:

pkgs.zprint

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zprint.nix

treefmt.programs.zprint.excludes

Path / file patterns to exclude

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zprint.nix

treefmt.programs.zprint.finalPackage

Resulting zprint package bundled with plugins, if any.

Type: package (read only)

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zprint.nix

treefmt.programs.zprint.includes

Path / file patterns to include

Type: list of string

Default:

[
  "*.clj"
  "*.cljc"
  "*.cljs"
  "*.edn"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zprint.nix

treefmt.programs.zprint.priority

Priority

Type: null or signed integer

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zprint.nix

treefmt.programs.zprint.zprintOpts

Clojure map containing zprint options.

Type: null or string

Default:

null

Example:

"{:width 90}"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/programs/zprint.nix

treefmt.projectRootFile

File to look for to determine the root of the project in the build.wrapper. Set to null to let treefmt use its native detection.

Type: null or string

Default:

".git/config"

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.settings

The contents of treefmt.toml

Type: open submodule of (TOML value)

Default:

{ }

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.settings.excludes

A global list of paths to exclude. Supports glob.

Type: list of string

Default:

[ ]

Example:

[
  "node_modules/*"
]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.settings.formatter

Set of formatters to use

Type: attribute set of (open submodule of (TOML value))

Default:

{ }

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.settings.formatter.\.command

Executable obeying the treefmt formatter spec

Type: Path to executable

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.settings.formatter.\.excludes

List of files to exclude for formatting. Supports globbing. Takes precedence over the includes.

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.settings.formatter.\.includes

List of files to include for formatting. Supports globbing.

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.settings.formatter.\.options

List of arguments to pass to the command

Type: list of string

Default:

[ ]

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix

treefmt.settings.on-unmatched

Log paths that did not match any formatters at the specified log level.

Type: null or one of “debug”, “info”, “warn”, “error”, “fatal”

Default:

null

Declared by: - https://github.com/numtide/treefmt-nix/blob/71b125cd05fbfd78cab3e070b73544abe24c5016/module-options.nix