Skip to content

Commit

Permalink
Override EditorConfig settings for YAML files (#6980)
Browse files Browse the repository at this point in the history
I realized that I was fighting my editor, because we indent YAML files
with 2 spaces, but `.editorconfig` specifies 4 spaces for all files.
Align the config with reality.
  • Loading branch information
SpecLad authored Oct 11, 2023
1 parent 80daa10 commit cf4329a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{yml,yaml}]

indent_size = 2

0 comments on commit cf4329a

Please sign in to comment.