Skip to content

Commit 48cff6c

Browse files
committed
Add editorconfig configuration file
1 parent ecaa0c6 commit 48cff6c

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# EditorConfig works out of the box with many editors, plugins are available
2+
# for many others - see the website:
3+
# https://EditorConfig.org
4+
5+
root = true
6+
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
charset = utf8
11+
12+
[*.{js,jsx,ts,tsx,graphql,sql,md,html,mjml,json,jsonc,json5,yml,yaml,template,sh,Dockerfile}]
13+
indent_style = space
14+
indent_size = 2
15+
trim_trailing_whitespace = true
16+
17+
[*.{md,html,mjml}]
18+
trim_trailing_whitespace = false
19+
20+
[Dockerfile]
21+
indent_style = space
22+
indent_size = 2

.vscode/extensions.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// See https://go.microsoft.com/fwlink/?LinkId=827846
33
// for the documentation about the extensions.json format
44
"recommendations": [
5+
"EditorConfig.EditorConfig", // http://editorconfig.org
56
"dbaeumer.vscode-eslint", // ESLint
67
"esbenp.prettier-vscode", // Prettier
78
"apollographql.vscode-apollo", // GraphQL support

0 commit comments

Comments
 (0)