Skip to content

Add .editorconfig support #244

Description

@H3mul

Currently, the formatter can only receive config via cli flags. In the absence of explicit configuration, it would make a lot of sense for the formatter to respect existing .editorconfig files, which is more or less standard across editors. This would reduce formatter setup between editors

Eg:

.editorconfig

root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2

should be equivalent to gdscript-formatter --use-spaces --indent-size 2

Thanks for an awesome formatter!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions