This repository has been archived by the owner on Jan 5, 2022. It is now read-only.
forked from apluslms/aplus-manual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
77 lines (55 loc) · 1.48 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
72
73
74
75
76
77
# EditorConfig: https://EditorConfig.org
# Some editors require a plugin. Check the 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. If neccessary, please
# update the upstream file acordingly!
# https://github.com/apluslms/apluslms.github.io/blob/master/.editorconfig.
# More information about the current style followed in the apluslms projects
# can be found on https://apluslms.github.io/contribute/styleguides/.
# 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