Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
An .editorconfig file to bring some sanity to indentations
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Batchelder committed Feb 1, 2017
1 parent d329a9e commit 7837964
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This file is for unifying the coding style for different editors and IDEs.
# More information at http://EditorConfig.org

root = true

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

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

[*.rst]
max_line_length = 79

[*.mk]
indent_style = tab
indent_size = 8

[Makefile]
indent_style = tab
indent_size = 8

0 comments on commit 7837964

Please sign in to comment.