IndivisibleOnline / Indivisible-Plugin

The Custom Plugin that Powers IW Wordpress Site
0 stars 2 forks source link

Reformat codebase #36

Closed darvelo closed 7 years ago

darvelo commented 7 years ago

This is some initial reformatting of the code (removing/adding whitespace) and general readability enhancements. Please test this as I haven't had time to set up my test environment (or know what I'd be testing for yet). These are mostly stylistic changes, though there were a few instances where I moved a global to the top of a function, and prefixed some lines with TODO: (one TODO I wasn't certain of, so I put a (?) after it).

I realize the diff makes this look like a lot of changes, but it really is like 99% whitespace.

Please let me know if there are any style conventions you think we should be following. It seemed like most of the codebase followed the 4 spaces per indent rule, so I went with that.

darvelo commented 7 years ago

I think it's probably better to do this in smaller chunks to make reviewing simpler and easier.