-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_editorconfig
50 lines (43 loc) · 1.49 KB
/
dot_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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# ~/.local/share/chezmoi/.editorconfig
# =============================================================================
# Repo-specific EditorConfig file for supporting IDEs.
#
# Helps maintaining a consistent coding style between different editors.
# See https://EditorConfig.org
# https://github.com/editorconfig/editorconfig/wiki/Projects-Using-EditorConfig
# Define this as the top-most EditorConfig file.
root = true
# All files
# -----------------------------------------------------------------------------
[*]
charset = utf-8
# Set line endings to Unix style.
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
# Remove any whitespace characters preceding newline characters.
trim_trailing_whitespace = true
# Markdown
# -----------------------------------------------------------------------------
[*.md]
# Keep trailing whitespaces as they have meaning on Markdown interpretation.
trim_trailing_whitespace = false
# Toml
# -----------------------------------------------------------------------------
[*.toml]
indent_size = 2
# Yaml
# -----------------------------------------------------------------------------
[*.{yml,yaml}]
indent_size = 2
# Makefile
# -----------------------------------------------------------------------------
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
# Powershell
# -----------------------------------------------------------------------------
[*.{ps1,psd1,psm1,ps1xml}]
# Set line endings to Windows style.
end_of_line = crlf