-
Notifications
You must be signed in to change notification settings - Fork 12
/
.editorconfig
71 lines (52 loc) · 1.29 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# EditorConfig: https://EditorConfig.org
# Some editors require a plugin. Check above site for details!
# List of fully and partially supported properties:
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
# NOTE: this file is shared among multiple projects. Please send updates
# to the upstream too! https://github.com/apluslms/apluslms.github.io
# You may copy this file and add local changes at the bottom.
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[Makefile*]
indent_style = tab
indent_size = 8
# data
[*.{json,yml,yaml}]
indent_style = space
indent_size = 2
# markup
[*.html]
indent_style = tab
[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
[*.rst]
indent_style = space
indent_size = 2
max_line_length = 120
# styling
[*.{css,scss,sass}]
indent_style = tab
# programming
[*.js]
indent_style = space
indent_size = 2
[*.py]
indent_style = space
indent_size = 4
# Docstrings and comments use max_line_length = 79
max_line_length = 119
[*.sh]
indent_style = space
indent_size = 4
# overrides
[*.min.{js,css}]
indent_style = unset
insert_final_newline = unset
trim_trailing_whitespace = false
# Non-global changes for a particular project should be added below this line