-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.editorconfig
More file actions
32 lines (25 loc) · 851 Bytes
/
Copy path.editorconfig
File metadata and controls
32 lines (25 loc) · 851 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
# EditorConfig is awesome: https://EditorConfig.org
# Master copy, used unchanged by every TYPO3 documentation repository:
# https://github.com/TYPO3-Documentation/TYPO3CMS-Guide-HowToDocument
root = true
# Code examples indent two spaces, whatever the language, so that a nested
# example still fits the line length the prose around it is wrapped to
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
# reStructuredText is the exception: one indentation level is four spaces
[{*.rst,*.rst.txt}]
indent_size = 4
max_line_length = 80
[*.md]
max_line_length = 80
# Makefiles do not work without real tabs
[{Makefile,_Makefile,**.mk}]
indent_style = tab
# In a patch a leading or trailing space is content, not whitespace
[*.diff]
trim_trailing_whitespace = false