Skip to content

Commit

Permalink
Auto merge of #5031 - JohnTitor:editorconfig, r=phansch
Browse files Browse the repository at this point in the history
Prefer 2 spaces as indent size over 4 on yaml

We use 2 spaces as an indent on YAML like `.travis.yml` now but `.editorconfig` tells my editor that indent size is 4, not 2. It makes my editor confused.

changelog: none
  • Loading branch information
bors committed Jan 9, 2020
2 parents ab5de38 + 9a008e2 commit 43ac941
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ indent_size = 4

[*.md]
trim_trailing_whitespace = false

[*.yml]
indent_size = 2

0 comments on commit 43ac941

Please sign in to comment.