-
Notifications
You must be signed in to change notification settings - Fork 16
/
.editorconfig
151 lines (138 loc) · 6.8 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
root = true
[*]
end_of_line = lf
insert_final_newline = false
indent_style = space
indent_size = tab
indent_brace_style = K&R
tab_width = 4
charset = utf-8
trim_trailing_whitespace = false
max_line_length = 10000
quote_type = single
curly_bracket_next_line = false
spaces_around_operators = true
spaces_around_brackets = outside
[*.php]
insert_final_newline = true
trim_trailing_whitespace = true
[*.css]
indent_style = tab
tab_width = 3
[*.tpl]
indent_style = tab
quote_type = double
tab_width = 3
[*.xml]
indent_style = tab
quote_type = double
tab_width = 3
[*.js]
indent_style = tab
quote_type = single
tab_width = 3
[*.sh]
indent_style = tab
tab_width = 3
[*.txt]
indent_style = tab
tab_width = 3
# Some files should not be reformatted (NB: Max .editorconfig line length is 200)...
# git checkout -- _tests/simpletest data/editarea/edit_area_compressor.php data_custom/upload-crop/upload_crop_v1.2.php sources/diff.php sources/firephp.php sources/jsmin.php \
# sources/lang_stemmer_EN.php sources_custom/swift_mailer sources_custom/facebook sources_custom/geshi.php sources_custom/geshi sources_custom/getid3 \
# sources_custom/openid.php sources_custom/photobucket sources_custom/php-crossword sources_custom/programe sources_custom/sabredav sources_custom/vimeo.php \
# sources_custom/Transliterator sources/mail_dkim.php \
# sources_custom/Cloudinary sources_custom/ILess sources_custom/openid.php sources_custom/spout sources_custom/twitter.php data/ckeditor data_custom/ckeditor data/editarea \
# themes/default/javascript/widget_color.js themes/default/javascript/widget_date.js themes/default/javascript/jwplayer.js \
# themes/default/javascript_custom/mediaelement-and-player.js themes/default/css_custom/mediaelementplayer.css themes/default/javascript/sound.js \
# themes/default/javascript/modernizr.js themes/default/javascript/select2.js \
# themes/default/javascript_custom/skitter.js themes/default/javascript_custom/sortable_tables.js themes/default/javascript_custom/unslider.js \
# themes/default/javascript/plupload.js themes/default/javascript_custom/columns.js \
# themes/default/javascript_custom/jquery_flip.js themes/default/javascript_custom/tag_cloud.js themes/default/javascript_custom/openid.js \
# themes/default/javascript_custom/base64.js mobiquo/smartbanner mobiquo/lib sources_custom/composr_mobile_sdk/ios/ApnsPHP \
# data_custom/errorlog.php data_custom/execute_temp.php data_custom/latest_activity.txt data_custom/permissioncheckslog.php \
# uploads _config.php sources_custom/browser_detect.php tracker _old _tests/html_dump _tests/cmstest _tests/screens_tested \
# docs/api docs/composr-api-template data_custom/upload-crop caches exports imports nbproject themes/default/templates_cached/EN \
# _tests/codechecker/codechecker.app _tests/codechecker/netbeans/nbproject _tests/codechecker/netbeans/build _tests/codechecker/netbeans/dist \
# safe_mode_temp themes/default/javascript/xsl_mopup.js data/modules/admin_stats/IP_Country.txt docs \
# themes/default/css_custom/openid.css themes/default/css_custom/skitter.css \
# themes/default/css_custom/unslider.css themes/default/css_custom/sortable_tables.css themes/default/css_custom/google_search.css \
# themes/default/css_custom/columns.css themes/default/css_custom/crossword.css themes/default/css_custom/flip.css
# (ends)
# if updating above, update line_count.sh and http://compo.sr/tracker/view.php?id=651 too
# PHPStorm settings (.idea/codeStyleSettings.xml)...
#<?xml version="1.0" encoding="UTF-8"?>
#<project version="4">
# <component name="ProjectCodeStyleSettingsManager">
# <option name="PER_PROJECT_SETTINGS">
# <value>
# <option name="OTHER_INDENT_OPTIONS">
# <value>
# <option name="INDENT_SIZE" value="3" />
# <option name="CONTINUATION_INDENT_SIZE" value="3" />
# <option name="TAB_SIZE" value="3" />
# <option name="USE_TAB_CHARACTER" value="true" />
# <option name="SMART_TABS" value="false" />
# <option name="LABEL_INDENT_SIZE" value="0" />
# <option name="LABEL_INDENT_ABSOLUTE" value="false" />
# <option name="USE_RELATIVE_INDENTS" value="false" />
# </value>
# </option>
# <option name="LINE_SEPARATOR" value=" " />
# <option name="HTML_ATTRIBUTE_WRAP" value="0" />
# <PHPCodeStyleSettings>
# <option name="ALIGN_PHPDOC_PARAM_NAMES" value="true" />
# <option name="PHPDOC_BLANK_LINE_BEFORE_TAGS" value="true" />
# <option name="LOWER_CASE_BOOLEAN_CONST" value="true" />
# <option name="LOWER_CASE_NULL_CONST" value="true" />
# </PHPCodeStyleSettings>
# <XML>
# <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
# </XML>
# <codeStyleSettings language="CSS">
# <indentOptions>
# <option name="INDENT_SIZE" value="3" />
# <option name="CONTINUATION_INDENT_SIZE" value="3" />
# <option name="TAB_SIZE" value="3" />
# <option name="USE_TAB_CHARACTER" value="true" />
# </indentOptions>
# </codeStyleSettings>
# <codeStyleSettings language="JavaScript">
# <indentOptions>
# <option name="INDENT_SIZE" value="3" />
# <option name="CONTINUATION_INDENT_SIZE" value="3" />
# <option name="TAB_SIZE" value="3" />
# <option name="USE_TAB_CHARACTER" value="true" />
# </indentOptions>
# </codeStyleSettings>
# <codeStyleSettings language="PHP">
# <option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1" />
# <option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
# <option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
# <option name="ALIGN_MULTILINE_ARRAY_INITIALIZER_EXPRESSION" value="true" />
# <option name="IF_BRACE_FORCE" value="3" />
# <option name="DOWHILE_BRACE_FORCE" value="3" />
# <option name="WHILE_BRACE_FORCE" value="3" />
# <option name="FOR_BRACE_FORCE" value="3" />
# </codeStyleSettings>
# <codeStyleSettings language="SQL">
# <indentOptions>
# <option name="INDENT_SIZE" value="3" />
# <option name="CONTINUATION_INDENT_SIZE" value="3" />
# <option name="TAB_SIZE" value="3" />
# <option name="USE_TAB_CHARACTER" value="true" />
# </indentOptions>
# </codeStyleSettings>
# <codeStyleSettings language="XML">
# <indentOptions>
# <option name="INDENT_SIZE" value="3" />
# <option name="CONTINUATION_INDENT_SIZE" value="3" />
# <option name="TAB_SIZE" value="3" />
# <option name="USE_TAB_CHARACTER" value="true" />
# </indentOptions>
# </codeStyleSettings>
# </value>
# </option>
# <option name="USE_PER_PROJECT_SETTINGS" value="true" />
# </component>
#</project>