Skip to content

Commit

Permalink
config: Avoid git patch fail to apply due to stripped unmodified line…
Browse files Browse the repository at this point in the history
…s that contains only spaces

Signed-off-by: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
  • Loading branch information
brlin-tw committed Oct 31, 2020
1 parent 0c5a4a4 commit 6dcf321
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 @@ -26,3 +26,7 @@ trim_trailing_whitespace = false
[*.{yml,yaml}]
indent_size = 2
indent_style = space

# Avoid git patch fail to apply due to stripped unmodified lines that contains only spaces
[/.git/**]
trim_trailing_whitespace = false

0 comments on commit 6dcf321

Please sign in to comment.