Skip to content

Add .editorconfig

Achilleas Pipinellis requested to merge editorconfig into master

What does this MR do?

Add an .editorconfig file that is used by many editors to configure some defaults, like indentation, etc.

I've actually copied this from the GitLab file https://gitlab.com/gitlab-org/gitlab/-/blob/master/.editorconfig, and edited it a bit to be applied to all files.

Why was this MR needed?

This is needed by the webIDE if we want to have the same standards when using an editor locally.

What's the best way to test this MR?

  • Either open webIDE in this MR and use Tab on a file. It should add two spaces.
  • Or, checkout this branch and open a file in VSCode.

What are the relevant issue numbers?

Discussed in !2310 (comment 455135956)

Edited by Achilleas Pipinellis

Merge request reports