-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
47 lines (36 loc) · 848 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# TLDR: https://editorconfig.org
# Docs: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
# Do NOT look for .editorconfig in parent directories
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 4
max_line_length = 120
[*.py]
max_line_length = 80
[*.{md,markdown,rmd}]
max_line_length = off
# rescue double whitespace as line break
trim_trailing_whitespace = false
[*.{yaml,yml,toml}]
insert_final_newline = false
indent_style = space
indent_size = 2
[*.{json,jsonc}]
max_line_length = off
insert_final_newline = false
[*.toml]
indent_style = space
indent_size = 2
[*.ics]
end_of_line = crlf
[Makefile]
indent_style = tab
[{.gitattributes,.gitignore}]
insert_final_newline = true
[COMMIT_EDITMSG]
max_line_length = off