Skip to content

Commit

Permalink
docs: add editorconfig for markdown
Browse files Browse the repository at this point in the history
I was trying to fix a link in in a document and couldn't get github, my editor or my local git to perserve the mixed line endings in the file. Instead of doing that I figued I could help fix it.

[Editorconfig](https://editorconfig.org/#) is nativly supported by most popular editors and keeps formatting issues like this away. I've set it up for markdown files using the most commonly used line endings.
  • Loading branch information
reconbot authored and mkellner committed Aug 3, 2023
1 parent 1929b60 commit 2a33ad5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
root = true

[*.md]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

0 comments on commit 2a33ad5

Please sign in to comment.