-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
53 lines (42 loc) · 1.25 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
# EditorConfig is awesome: http://EditorConfig.org èëè http://habrahabr.ru/post/220131/
# Êîðíåâîé ôàéë EditorConfig
root = true
# Äëÿ âñåõ ôàéëîâ èñïîëüçóåì unix-ñîâìåñòèìûå ïåðåíîñû ñòðîê, ïåðåíîñ â êîíöå ôàéëà
[*]
end_of_line = lf
insert_final_newline = false
# Äëÿ âñåõ ôàéëîâ èñïîëüçóåì êîäèðîâêó utf-8
charset = utf-8
# Äëÿ JavaScript ôàéëîâ îòñïóû â âèäå 2õ ïðîáåëîâ, óáèðàåì ïðîáåëû èç êîíöîâ ñòðîê
#[*.js]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
# Äëÿ JSON ôàéëîâ îòñïóû â âèäå 2õ ïðîáåëîâ
#[*.js]
indent_style = space
indent_size = 2
# Äîêóìåíòàöèîííûå ôàéëû íå óáèðàåì ïðîáåëû èç êîíöîâ ñòðîê.
[*.md]
trim_trailing_whitespace = false
# Òîëüêî äëÿ ôàéëîâ package.json or .travis.yml îòñòóû â âèäå 2õ ïðîáåëîâ
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
# Íå ïåðåôîðìàòèðóåì ìèíèôèöèðîâàííûå JS è CSS ôàéëû.
[*.min.*]
indent_style = ignore
trim_trailing_whitespace = false
insert_final_newline = ignore
# Íåèñïîëüçîâàííûå ðèìåðû
# Matches multiple files with brace expansion notation
# Set default charset
#[*.{js,py}]
#charset = utf-8
# Tab indentation (no size specified)
#[Makefile]
#indent_style = tab
# Indentation override for all JS under lib directory
#[lib/**.js]
#indent_style = space
#indent_size = 2