Skip to content

v3.12.0 seems to ignore .editorconfig file #1173

@jandubois

Description

@jandubois

I use this config:

# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
quote_type = single
trim_trailing_whitespace = true

[*.go]
indent_style = tab

[*.{sh,bash,bats}]
indent_size = 4

This used to work correctly for *.sh, *.bash, etc files, but with v3.12.0 it seems to get ignored and I have to specify -i 4 explicitly to get 4 space indent instead of using tabs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions