Skip to content

Commit 6ebb44b

Browse files
authored
Create .editorconfig
1 parent abce38a commit 6ebb44b

1 file changed

Lines changed: 69 additions & 0 deletions

File tree

.editorconfig

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
charset = utf-8
9+
end_of_line = lf
10+
indent_style = space
11+
indent_size = 2
12+
insert_final_newline = true
13+
trim_trailing_whitespace = true
14+
15+
# Markdown files
16+
[*.md]
17+
trim_trailing_whitespace = false
18+
max_line_length = off
19+
20+
# JSON files
21+
[*.json]
22+
indent_size = 2
23+
24+
# YAML files
25+
[*.{yml,yaml}]
26+
indent_size = 2
27+
28+
# Package.json
29+
[package.json]
30+
indent_size = 2
31+
32+
# TypeScript/JavaScript files
33+
[*.{js,jsx,ts,tsx}]
34+
indent_size = 2
35+
quote_type = single
36+
37+
# CSS/SCSS files
38+
[*.{css,scss}]
39+
indent_size = 2
40+
41+
# HTML files
42+
[*.html]
43+
indent_size = 2
44+
45+
# Makefiles
46+
[Makefile]
47+
indent_style = tab
48+
49+
# Batch files
50+
[*.bat]
51+
indent_style = tab
52+
53+
# Dockerfiles
54+
[Dockerfile]
55+
indent_style = space
56+
indent_size = 4
57+
58+
# Shell scripts
59+
[*.sh]
60+
indent_style = space
61+
indent_size = 2
62+
63+
# XML files
64+
[*.xml]
65+
indent_size = 2
66+
67+
# SQL files
68+
[*.sql]
69+
indent_size = 2

0 commit comments

Comments
 (0)