Skip to content

programs.shfmt.indent_size = null uses tabs rather than .editorconfig setting #442

@l0b0

Description

@l0b0

I'm migrating to treefmt-nix from pre-commit, and noticed that shfmt by default ignores .editorconfig. But setting programs.shfmt.indent_size = null doesn't work either – all the indentation is changed to tabs.

The relevant settings:

root = true

[*]
indent_size = 4
indent_style = space

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions