archive.innersourcecommons.org icon indicating copy to clipboard operation
archive.innersourcecommons.org copied to clipboard

Tabs or Spaces?

Open dellagustin opened this issue 5 years ago • 4 comments

Currently there is a mixed usage of tabs and spaces on the webpage files. It would be good to start defining the rules and document them in the contribution guidelines.

I personally prefer tabs, and support the arguments raised by Lea Verou in her article Why tabs are clearly superior.

dellagustin avatar Feb 23 '20 15:02 dellagustin

This is a great question, @dellagustin. Why don't you represent this topic in #tech-infra to get a discussion and some direction?

rrrutledge avatar Feb 24 '20 13:02 rrrutledge

Linking back to the corresponding slack thread: https://innersourcecommons.slack.com/archives/CGSE508A1/p1582562709013200

dellagustin-sap avatar Feb 24 '20 16:02 dellagustin-sap

I'm fine with Tabs. Some consistency and linting would probably not harm anyone and might help others.

lenucksi avatar Feb 24 '20 16:02 lenucksi

The correct answer to tabs vs spaces is: the one that you enforce.

It really makes no difference which you choose. So long as everyone uses an editor that can support an .editorconfig file, we'll all have the same settings. As files get touched over time, this problem will solve itself. We could also use a linter to enforce our preference as a build step, so that PRs dont get merged that don't follow the spacing rules.

marshmallowrobot avatar Jun 11 '20 16:06 marshmallowrobot