Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use correct indent for *.json files #34

Open
PhilippKuhlmay opened this issue May 19, 2021 · 1 comment
Open

Use correct indent for *.json files #34

PhilippKuhlmay opened this issue May 19, 2021 · 1 comment

Comments

@PhilippKuhlmay
Copy link
Contributor

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.

@PhilippKuhlmay PhilippKuhlmay added the bug Something isn't working label May 19, 2021
@PhilippKuhlmay
Copy link
Contributor Author

I cannot remove the label "bug" from this Issue. Bug is not correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants