generated from germanfrelo/template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
27 lines (23 loc) · 1018 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# https://editorconfig.org
# Top-most EditorConfig file
root = true
# All files
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
# Markdown files
[*.md]
# Keep trailing whitespace in order to create hard line breaks (see https://code.visualstudio.com/docs/languages/markdown#_keep-trailing-whitespace-in-order-to-create-line-breaks)
trim_trailing_whitespace = false
# 4-spaces indentation (see https://github.com/DavidAnson/vscode-markdownlint/issues/86#issuecomment-579860824)
indent_style = space
indent_size = 4
# YAML files
[*.{yml,yaml}]
# YAML doesn't support hard tabs (see https://yaml.org/spec/1.2.2/#61-indentation-spaces)
indent_style = space
# The YAML spec doesn't mandate a specific number of spaces for indentation; however, two spaces per indentation level is the most widely recommended and used approach (see https://localheinz.com/articles/2023/02/06/indenting-yaml-files/#content-use-two-spaces-of-indentation)
indent_size = 2