-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
50 lines (40 loc) · 1011 Bytes
/
.editorconfig
File metadata and controls
50 lines (40 loc) · 1011 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Корневой файл EditorConfig
root = true
# Для всех файлов используем unix-совместимые переносы строк
[*]
indent_style = space
indent_size = 4
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
# отступы в 4 пробела
[*.js]
indent_size = 4
indent_style = space
[*.scss]
indent_size = 4
indent_style = space
[*.sass]
indent_size = 4
indent_style = space
[*.{json,js,jsx,html,css}]
indent_style = space
indent_size = 4
# Только для файлов package.json or .travis.yml
[{bower.json,package.json,.travis.yml}]
indent_size = 4
indent_style = space
[.eslintrc]
file_type = yaml
indent_size = 4
indent_style = space
[*.md]
syntax = markdown, md, Mark Down
trim_trailing_whitespace = false
[*.{css, scss, sass}]
syntax = postcss, scss, sass, css
file_type = postcss, scss, sass, css
[*.nunjucks,html]
syntax = nunjucks, jinja2, twig, html
file_type = nunjucks, jinja2, twig, html