forked from ONLYOFFICE/server
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy path.editorconfig
More file actions
41 lines (34 loc) · 766 Bytes
/
.editorconfig
File metadata and controls
41 lines (34 loc) · 766 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
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# JavaScript files
[*.{js,jsx}]
indent_size = 2
max_line_length = 120
# JSON configuration files (Common/config/*.json)
[*.json]
indent_style = tab
max_line_length = 120
# Package files (use spaces for package.json)
[package*.json]
indent_style = space
indent_size = 2
# GitHub workflow files (.github/workflows/*.yml)
[*.{yml,yaml}]
indent_style = space
indent_size = 2
max_line_length = 120
# SQL schema files (schema/*/)
[*.sql]
indent_style = space
indent_size = 2
max_line_length = 100
# Markdown files (preserve trailing spaces for line breaks)
[*.md]
trim_trailing_whitespace = false
max_line_length = off