This repository has been archived by the owner on May 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
82 lines (73 loc) · 3.12 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
78
79
80
81
82
# ==============================================================================
# This file is for unifying the coding style for different editors and IDEs
#
# For full details see: http://editorconfig.org/
#
# An explanation of all available properties can be found at:
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
# ==============================================================================
# ==============================================================================
# This is not the top-most EditorConfig file you are looking for
# ------------------------------------------------------------------------------
root = false
# ==============================================================================
# ==============================================================================
# Defaults for anything that is not specifically listed
# ------------------------------------------------------------------------------
[*]
# ------------------------------------------------------------------------------
# Widely Supported by Editors
# ------------------------------------------------------------------------------
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
# ------------------------------------------------------------------------------
# Supported By A Limited Number of Editors
# ------------------------------------------------------------------------------
max_line_length=off
# ==============================================================================
# ==============================================================================
# Settings for specific file types
# ------------------------------------------------------------------------------
[*.js]
indent_size = 2
max_line_length=120
# ------------------------------------------------------------------------------
[*.json]
indent_size = 2
# ------------------------------------------------------------------------------
[*.md]
indent_size = 4
max_line_length=80
trim_trailing_whitespace = false
# ------------------------------------------------------------------------------
[*.php]
indent_size = 4
max_line_length=120
# ------------------------------------------------------------------------------
[*.rb]
indent_size = 2
# ------------------------------------------------------------------------------
[*.sh]
indent_size = 4
max_line_length=80
# ------------------------------------------------------------------------------
[*.xml]
indent_size = 4
# ------------------------------------------------------------------------------
[*.yml]
indent_size = 2
# ==============================================================================
# ==============================================================================
# settings for exact files
# ------------------------------------------------------------------------------
[{composer.json}]
indent_size = 4
# ------------------------------------------------------------------------------
[{.gitignore, .editorconfig}]
indent_size = 2
# ==============================================================================
#EOF