-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy path.editorconfig
49 lines (34 loc) · 1.24 KB
/
.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
# -*-mode:ini-*- vim:ft=dosini
# ~/.local/share/chezmoi/.editorconfig
# =============================================================================
# Repo-specific EditorConfig file for supporting IDEs.
#
# Helps maintaining a consistent coding style between different editors.
# See https://EditorConfig.org
# Define this as the top-most EditorConfig file.
root = true
# All files
# -----------------------------------------------------------------------------
[*]
# Set default character set.
charset = utf-8
# Set line endings to Unix style.
end_of_line = lf
# Set width of soft tabs and number of columns used for indentation levels.
indent_size = 4
# Use soft tabs.
indent_style = space
# Ensure file ends with a newline when saving.
insert_final_newline = true
# 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
# Powershell
# -----------------------------------------------------------------------------
[*.{ps1,psd1,psm1,ps1xml}]
# Set line endings to Windows style.
end_of_line = crlf