Skip to content

Use correct indent for *.json files #34

Description

@PhilippKuhlmay

Suggestion

While edition the composer.json file I realized, that my IDE tried to use a different indent for the lines.
The used indents are 2 spaces for each time I press the tab-key. But my IDE tried to use a tab-stop each time.

Bildschirmfoto 2021-05-19 um 14 49 42

Changing following inside the .editorconfig file worked.

# JSON-Files
[*.json]
indent_style = space
indent_size = 2

This is not a bug or something which isn't working. It is only a suggestion for making future developments and code changes much more normalized.

Keep in mind that this change will also change the indents inside the file Build/package.json as there are used tab-stops instead of spaces.

I can provide a new PR tomorrow, if wished.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions