Skip to content

Commit

Permalink
Build: instruct file editors not to trim trailing whitespace in Markd…
Browse files Browse the repository at this point in the history
…own files.

Two trailing spaces in a markdown file indicates a line break.

BuddyPress does not contain Markdown files but this changes brings us inline with WordPress,
where historically we've matched code standards.

See #WP43104

Fixes #7733

Props netweb

git-svn-id: https://buddypress.svn.wordpress.org/trunk@11945 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
  • Loading branch information
paulgibbs committed Apr 4, 2018
1 parent 5d6fa3b commit 9b746cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ indent_style = tab
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[{*.txt}]
end_of_line = crlf

0 comments on commit 9b746cb

Please sign in to comment.