Skip to content

Ignores indent_style when indent_size is not set #11

@dirk-zimoch

Description

@dirk-zimoch

This is my .editorconfig file:

# Documentation for this file: https://EditorConfig.org

root = true

# Unix-style newlines ending every file,
# as some compilers complain about files not ending in newline
# Enforce consistent space indent style in source code
# and remove all trailing spaces
[*.{c,cc,cpp,h,hpp,pl,py,yml,rst}]
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

While the JavaScript version of eclint warns about tab indented lines, this version does not unless I also set indent_size.
Tested with v0.5.0. and v0.5.1.

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