Skip to content

Add default Editorconfig#182

Merged
g105b merged 1 commit intophpgt:masterfrom
Alkarex:editorconfig
Aug 17, 2022
Merged

Add default Editorconfig#182
g105b merged 1 commit intophpgt:masterfrom
Alkarex:editorconfig

Conversation

@Alkarex
Copy link
Copy Markdown
Contributor

@Alkarex Alkarex commented Aug 17, 2022

https://editorconfig.org/
This standard file instructs text editors about the white-space rules to use in any given project, so that contributors will automatically use the correct convention.

Found while working on #181

I could see for instance that #168 introduced a mix of spaces and tabs
image

https://editorconfig.org/
This standard file inscructs text editors about the whitespace rules to use in any given project, so that contributors will automatically use the correct convention.
I could see for instance that phpgt#168 introduced a mix of spaces and tabs
@Alkarex Alkarex mentioned this pull request Aug 17, 2022
@g105b
Copy link
Copy Markdown
Member

g105b commented Aug 17, 2022

This is great, I'm all for consistency but I never knew how to automate this... I just use PhpStorm, and it makes sure I'm consistent, but these spaces were introduced by another contributor - I just forgot to apply my reformatting.

@g105b g105b merged commit 972d4ec into phpgt:master Aug 17, 2022
@Alkarex Alkarex deleted the editorconfig branch August 17, 2022 14:54
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

Successfully merging this pull request may close these issues.

2 participants