-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
67 lines (52 loc) · 1.52 KB
/
.editorconfig
File metadata and controls
67 lines (52 loc) · 1.52 KB
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
root = true
# ================
# General Settings
[*]
# Core settings
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
# Default Indentation
indent_style = space
indent_size = 4
# ====================
# Web Styling Settings
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}]
indent_size = 4
[*.{css,scss,sass,less,styl}]
indent_size = 2
# ==============================
# C# (.NET SDK) Styling Settings
[*.cs]
# File Header
file_header_template = Copyright (c) Ame (Akeoott) <ame@akeoot.org>. Licensed under the LGPL-3.0 License.\nSee the LICENSE file in the repository root for full license text.
dotnet_diagnostic.IDE0073.severity = error
# using
dotnet_separate_import_directive_groups = true
csharp_style_using_directive_placement = outside_namespace:suggestion
csharp_style_namespace_declaration = file_scoped:suggestion
# Code Block
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_preserve_single_line_blocks = true
insert_final_newline = true
# xml based files
[*.{xml,axaml,slnx,csproj}]
insert_final_newline = true
indent_style = space
indent_size = 2
# =======================
# Python Styling Settings
[*.py]
insert_final_newline = true
indent_style = space
indent_size = 4
# =======================
# Markdown and Text Files
[*.{md,txt}]
trim_trailing_whitespace = true
insert_final_newline = false