Skip to content

Commit df85b62

Browse files
authored
Editorconfig (#1777)
1 parent 930cd74 commit df85b62

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.editorconfig

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Root editorconfig file for pulumi/examples
2+
root = true
3+
4+
# Apply to all files
5+
[*]
6+
indent_style = space
7+
indent_size = 4
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true
12+
13+
# Python-specific settings based on black.toml
14+
[*.py]
15+
indent_size = 4
16+
max_line_length = 100
17+
18+
# JSON files
19+
[*.json]
20+
indent_style = space
21+
indent_size = 2
22+
23+
# YAML files
24+
[*.yml]
25+
indent_style = space
26+
indent_size = 2
27+
28+
# Markdown files
29+
[*.md]
30+
trim_trailing_whitespace = false
31+
32+
# TypeScript files
33+
[*.ts]
34+
indent_style = space
35+
indent_size = 2
36+
37+
# Go files
38+
[*.go]
39+
indent_style = tab
40+
tab_width = 4
41+
42+
# Ignore venv folders
43+
[**/venv/**]
44+
indent_style = ignore

0 commit comments

Comments
 (0)