Skip to content

shfmt - Shell support should respect .editorconfig configurations instead of using defaults #2014

@tbcrawford

Description

@tbcrawford

shfmt supports .editorconfig out of the box so spotless should support this too, if possible, instead of using the current default flags. If editorconfig can't be supported for some reason, maybe a fallback to some shfmt() extension DSL should be added in case developers want to codify the flags into their Gradle configuration. The current default flags do not appear to give developers any way of overriding them however and force developers to use an indent of 2 spaces and for case statements to be indented (which some developers may not want).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions