Skip to content

Commit

Permalink
Merge pull request #100 from tegonal/bugfix/editorconfig-yaml
Browse files Browse the repository at this point in the history
remembered why we used indent_size=2 for yaml files, re-introduced it
  • Loading branch information
robstoll authored Sep 10, 2024
2 parents 3d6fca7 + 2febe51 commit fcbb348
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,10 @@ trim_trailing_whitespace = true
insert_final_newline = false
trim_trailing_whitespace = false

[*.{yml,yaml}]
# tab is illegal as indentation character in yml files, hence we are opinionated here and use 2 spaces
indent_style = space
indent_size = 2

[*.bat]
end_of_line = crlf
5 changes: 5 additions & 0 deletions src/dotfiles/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,10 @@ trim_trailing_whitespace = true
insert_final_newline = false
trim_trailing_whitespace = false

[*.{yml,yaml}]
# tab is illegal as indentation character in yml files, hence we are opinionated here and use 2 spaces
indent_style = space
indent_size = 2

[*.bat]
end_of_line = crlf

0 comments on commit fcbb348

Please sign in to comment.