Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remembered why we used indent_size=2 for yaml files, re-introduced it #100

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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