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

[Maintenance] Introduce EditorConfig #332

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

coldic3
Copy link
Contributor

@coldic3 coldic3 commented Jun 29, 2022

No description provided.

@coldic3 coldic3 requested a review from a team as a code owner June 29, 2022 09:58
@GSadee GSadee merged commit 79e4018 into Sylius:1.12 Jul 21, 2022
@GSadee
Copy link
Member

GSadee commented Jul 21, 2022

Thanks, Kevin! 🥇


[*.json]
indent_style = space
indent_size = 2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hum, if you use ApiTestCase from @lchrusciel, this value should be 4.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You right, but if I see correctly it's not in PluginSkeleton by default. Hovewer the same problem is on Sylius/Sylius so we can add there:

[tests/Api/Responses/**/*.json]
indent_size = 4

Or we can use 4 spaces indentation everywhere for JSON files.

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

Successfully merging this pull request may close these issues.

3 participants