Commit graph

4 commits

Author SHA1 Message Date
Timo Tijhof
fc7e0717ab build: Fix .editorconfig to allow spaces in markdown files
When working on patch Ib90c74de1a153b6a01c3 I found that when using
Atom or Sublime with editorconfig enabled, a line break after
`* foo\n  bar` in a markdown file would often produce a tab instead
of two spaces for the third line.

Change-Id: I0ace4e675a20020a362ac3f29f8c1d8f61a99e1c
2021-04-29 23:56:23 +01:00
David Barratt
9dccdf2edf
Set .editorconfig to use spaces instead of tabs on YAML files
YAML files may be invalid if the indentation is done with tabs.
To prevent this from happening, configure developer's IDE's to
use spaces on these types of files.

Bug: T253594
Change-Id: I0c49c2b476a49508ea1036c1bd71e7de83dbf8b0
2020-05-25 17:56:59 -04:00
Mark A. Hershberger
1ee16d0021 Set tab width to 4
See https://www.mediawiki.org/wiki/Manual:Coding_conventions#Tab_size

This is a follow-up on I8e776665dca255ff5dead1a9874bcd73344e4d20

Bug: T172959
Change-Id: Ifc7ef5e3a095db505bbbff4c09c87213ae7259aa
2020-03-23 13:44:37 +00:00
David Barratt
e7e4e705c3 Add a simple .editorconfig
.editorconfig <http://editorconfig.org/> is a standardized format
that many IDEs support (or have plugins for) to use a project's code
style by default.

Bug: T172959
Change-Id: I8e776665dca255ff5dead1a9874bcd73344e4d20
2017-08-21 18:00:49 +00:00