Skip to content

feat(forge fmt): add hard-tabs / tabs instead of spaces as configuration in [fmt] #10754

@Swivelgames

Description

@Swivelgames

Component

Forge

Describe the feature you would like

It would be nice if the foundary.toml [fmt] section included the ability to use tabs instead of spaces.

Additional context

Indentation spacing is typically a stylistic or accessibility choice of the individual engineer, rather than the project itself. Tabs allow individual engineers to designate the tab_width in their own personal editor preferences without affecting other team members with different needs or preferences.

This likely shouldn't be turned on by default, as tabs vs spaces is an age-old internet debate, but it would be great if there was an option available for the teams that would like to use them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions