-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
32 lines (24 loc) · 891 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
# EditorConfig is awesome: https://editorconfig.org
# Default configuration for Moodle project.
# A search for .editorconfig files will stop,
# if the root filepath is reached or an EditorConfig file with root=true is found.
root = true
[*]
charset = utf-8
# Use an indent of 4 spaces with no tab characters.
# Ref: https://docs.moodle.org/dev/Coding_style#Indentation
indent_size = 4
indent_style = space
# Use standard Unix text format. Lines must end only with a linefeed (LF).
# Ref: https://docs.moodle.org/dev/Coding_style#Line_Termination
end_of_line = lf
insert_final_newline = true
# Lines should not contain trailing spaces.
# Ref: https://docs.moodle.org/dev/Coding_style#Line_Termination
trim_trailing_whitespace = true
# Set maximum line length.
[*.{css,js,php}]
max_line_length = 132
# Remove maximum line length for language files.
[lang/**.php]
max_line_length = off