Skip to content

Commit

Permalink
Give this repo an .editorconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Batchelder authored and nedbat committed Dec 5, 2018
1 parent db52ce7 commit f925e6d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This is a file to standardize editor settings: http://EditorConfig.org

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
max_line_length = 120
trim_trailing_whitespace = true

[{Makefile, *.mk}]
indent_style = tab

[*.{js,json,yml,yaml}]
indent_size = 2

[*.rst]
max_line_length = 79

[*.diff]
trim_trailing_whitespace = false

0 comments on commit f925e6d

Please sign in to comment.