Skip to content

refactor: formatting and if/else#2

Open
SethFalco wants to merge 2 commits intojosfeldmann:masterfrom
SethFalco:chores
Open

refactor: formatting and if/else#2
SethFalco wants to merge 2 commits intojosfeldmann:masterfrom
SethFalco:chores

Conversation

@SethFalco
Copy link

@SethFalco SethFalco commented Apr 7, 2022

I can see you already handled #1 (Thanks for that!)

While I was looking at the code, I was just doing random refactors here and there.
I figured I might as well PR some of the formatting changes and refactors that I'd done so far.

Formatting/Refactors

The main thing was just to 2 series of if/else.

image

A bit simpler. ^-^'

The rest was just formatting, i.e. redundant line breaks or inconsistent spacing.

EditorConfig

Adds an EditorConfig file, so contributors can use consistent code styles with the rest of the project.
This makes it more convenient to work on the project when a developer's editor settings aren't the same as yours.

EditorConfig is a widely supported format that code editors use to override user preferences to adhere to project conventions.
The current settings are based on what I can see from exploring the repository, you may wish to modify the rules.


Welcome to tell me to remove one of the commits.

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.

1 participant