Skip to content

Add .editorconfig file - #491

Merged
jrfnl merged 3 commits into
developfrom
add/editorconfig-file
Jun 18, 2021
Merged

jrfnl merged 3 commits into
developfrom
add/editorconfig-file

Conversation

@schlessera

Copy link
Copy Markdown
Member

This PR adds an .editorconfig file to let the IDE know how to handle newlines, tabs/spaces, etc. for the project.

This avoids commits like this one, as the IDE will automatically deal with this: 228ec26

@schlessera schlessera added this to the 2.0.0 milestone Jun 18, 2021
@schlessera
schlessera requested a review from jrfnl June 18, 2021 06:58

@jrfnl jrfnl left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm happy to merge this if it helps people. Not fussed myself as my editor doesn't use the file.

Review Notes:

Not all existing (yml, json) files currently comply with these rules.

Feels to me those should be brought into sync in conjunction with this PR.

I haven't checked the PHP files, but generally speaking that's covered by the CS rules and checked anyhow.

@schlessera
schlessera force-pushed the add/editorconfig-file branch from 2723870 to 8187657 Compare June 18, 2021 10:03
@schlessera
schlessera requested a review from jrfnl June 18, 2021 10:08

@jrfnl jrfnl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

:shipit:

@jrfnl
jrfnl merged commit 20ed3a6 into develop Jun 18, 2021
@jrfnl
jrfnl deleted the add/editorconfig-file branch June 18, 2021 10:12
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.

2 participants