Skip to content

Commit

Permalink
Fix editor config's indentation. (valkey-io#950)
Browse files Browse the repository at this point in the history
The `Prettier` formatter takes its config from this file, and since there's no default indentation, it resets its indentation to 2 spaces.
This change fixes the issue by adding default indentation to all languages.
  • Loading branch information
nihohit authored Feb 13, 2024
1 parent 82116ed commit 7b4c2f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ root = true
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
tab_width = 4

# Xml files
[*.xml]
Expand All @@ -16,8 +18,6 @@ indent_size = 2
#### Core EditorConfig Options ####

# Indentation and spacing
indent_size = 4
tab_width = 4

# New line preferences
end_of_line = lf
Expand Down

0 comments on commit 7b4c2f0

Please sign in to comment.