Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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.

  • No labels