aboutsummaryrefslogtreecommitdiffstats
path: root/.editorconfig
Commit message (Collapse)AuthorAgeFilesLines
* Fix .editorconfig for tests/parser/ directorythiemowmde2024-02-271-1/+1
| | | | | | | | | | | My IDE (PHPStorm) started messing the files in this directory up because the rule in .editorconfig doesn't match. The tests directory is directly in the root where the .editorconfig file also lives. There is no directory before `tests/` that would satisfy the `**/` pattern. Bug: T278066 Change-Id: Ie6d9c71f169a259475e3f3eae2674d6994e2f264
* Set .editorconfig to not trim lines in parser testsBrandonXLF2023-04-301-0/+5
| | | | | | | | | Text files that contain parser tests are intended to have whitespace at the end of some lines to properly test parser output, so this whitespace should not be trimmed by .editorconfig. Bug: T278066 Change-Id: I9b4b690e55aaa40e99f335922d131efd053cdd1f
* build: Exclude `.git/**` in .editorconfigTimo Tijhof2022-06-221-0/+4
| | | | | | | | | * Without this, editors like Sublime or Atom when using an EditorConfig plugin, they will change e.g. two spaces in a commit message (such as the second line in a bullet list item) to a tab upon saving the commit message. Change-Id: Ie0c5e1fcfe7853a737c1ccf1880052660f4171e2
* build: Fix .editorconfig to allow spaces in markdown filesTimo Tijhof2021-04-291-1/+5
| | | | | | | | | 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
* Set .editorconfig to use spaces instead of tabs on YAML filesDavid Barratt2020-05-251-0/+5
| | | | | | | | | 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
* Set tab width to 4Mark A. Hershberger2020-03-231-0/+2
| | | | | | | | | See https://www.mediawiki.org/wiki/Manual:Coding_conventions#Tab_size This is a follow-up on I8e776665dca255ff5dead1a9874bcd73344e4d20 Bug: T172959 Change-Id: Ifc7ef5e3a095db505bbbff4c09c87213ae7259aa
* Add a simple .editorconfigDavid Barratt2017-08-211-0/+11
.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