Skip to content

Commit 4b3f73a

Browse files
committedJun 2, 2023
Add .editorconfig
This file helps non-Googler contributors who have their editors set up differently for different projects. Most modern editors will automatically use the Google style when they see this file: * (most importantly) 2 character indent size, * 79 character maximum line length, * spaces instead of tabs, * linux line endings, and * no extraneous whitespace.
1 parent 277e461 commit 4b3f73a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
 

‎.editorconfig

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
root = true
2+
3+
[*.{py,rst,md,yml}]
4+
indent_style = space
5+
end_of_line = lf
6+
trim_trailing_whitespace = true
7+
insert_final_newline = true
8+
9+
[*.py]
10+
max_line_length = 79
11+
indent_size = 2
12+
13+
[*.rst]
14+
max_line_length = 79
15+
indent_size = 2
16+
17+
[*.md]
18+
max_line_length = 79
19+
indent_size = 2
20+
21+
[*.yml]
22+
indent_size = 2

0 commit comments

Comments
 (0)
Please sign in to comment.