-
Notifications
You must be signed in to change notification settings - Fork 12
/
.editorconfig
39 lines (34 loc) · 1.18 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
# editorconfig.org
# source: https://gist.github.com/sveneberth/b30d6639067177a31b5ab68af63a23e9
root = true
[*]
indent_style = space
tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120
[*.{css,less,yml,yaml,json,vue,js,ts}]
indent_size = 2
[*.md]
trim_trailing_whitespace = false
[{*.pyw,*.py}]
# Codestyle
ij_python_align_multiline_imports = true
ij_python_blank_lines_after_imports = 1
ij_python_blank_lines_after_local_imports = 0
ij_python_from_import_new_line_after_left_parenthesis = false
ij_python_from_import_new_line_before_right_parenthesis = false
ij_python_from_import_parentheses_force_if_multiline = false
ij_python_from_import_trailing_comma_if_multiline = false
ij_python_from_import_wrapping = 1
# Optimize Imports
ij_python_optimize_imports_always_split_from_imports = false
ij_python_optimize_imports_case_insensitive_order = false
ij_python_optimize_imports_join_from_imports_with_same_source = true
ij_python_optimize_imports_sort_by_type_first = true
ij_python_optimize_imports_sort_imports = true
ij_python_optimize_imports_sort_names_in_from_imports = true
[project.json]
insert_final_newline = false