-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy path.editorconfig
More file actions
36 lines (31 loc) · 800 Bytes
/
.editorconfig
File metadata and controls
36 lines (31 loc) · 800 Bytes
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
# This file is part of the tschm/.config-templates repository
# (https://github.com/tschm/.config-templates).
#
root = true
# Default settings for all files
[*]
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
# Python, reStructuredText, and text files
[*.{py,rst,txt}]
indent_style = space
indent_size = 4
# YAML, JSON, and other config files
[*.{yml,yaml,json}]
indent_style = space
indent_size = 2
# Markdown files
# [*.{md,markdown}]
# trim_trailing_whitespace = false
# Don't apply editorconfig rules to vendor/ resources
# This is a "defensive" rule for the day we may have
# the vendor folder
[vendor/**]
charset = unset
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = unset