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

Commit 7837964

Browse files
author
Ned Batchelder
committed
An .editorconfig file to bring some sanity to indentations
1 parent d329a9e commit 7837964

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.editorconfig

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This file is for unifying the coding style for different editors and IDEs.
2+
# More information at http://EditorConfig.org
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
end_of_line = lf
9+
indent_size = 4
10+
indent_style = space
11+
insert_final_newline = true
12+
max_line_length = 120
13+
trim_trailing_whitespace = true
14+
15+
[*.{yml,yaml}]
16+
indent_size = 2
17+
18+
[*.rst]
19+
max_line_length = 79
20+
21+
[*.mk]
22+
indent_style = tab
23+
indent_size = 8
24+
25+
[Makefile]
26+
indent_style = tab
27+
indent_size = 8

0 commit comments

Comments
 (0)