Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Prefer tabs over spaces (except for formats that require spaces, e.g. configuration files)

  • There is an .editorconfig file in the project that should get your IDE to display tabs as shorter 2 spaces by default.

  • You can then change the display manually in your IDE or text-editor if you have different preferences.

  • This ensure developers can view code with whatever indentation they want without the flip-flopping of whitespace in the files. Reviews and diffs are also more difficult when the whitespace always changes.