Skip to content

Commit e4ac72c

Browse files
committed
chore: add .editorconfig
1 parent f90d474 commit e4ac72c

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.editorconfig

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
13+
# TypeScript and JavaScript files
14+
[*.{ts,js}]
15+
indent_style = space
16+
indent_size = 4
17+
quote_type = single
18+
max_line_length = 100
19+
20+
# JSON files
21+
[*.json]
22+
indent_style = space
23+
indent_size = 2
24+
25+
# Markdown files
26+
[*.md]
27+
trim_trailing_whitespace = false
28+
max_line_length = off
29+
30+
# YAML files
31+
[*.{yml,yaml}]
32+
indent_style = space
33+
indent_size = 2

0 commit comments

Comments
 (0)