forked from SonarSource/sonar-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
44 lines (35 loc) · 808 Bytes
/
.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
# top-most EditorConfig file
root = true
# Don't use tabs for indentation.
[*]
charset = utf-8
indent_style = space
end_of_line = crlf
insert_final_newline = false
trim_trailing_whitespace = true
# (Please don't specify an indent_size here; that has too many unintended consequences.)
# Scripting files
[*.{ps1,bat,cmd}]
indent_size = 4
# C# code files
[*.{cs}]
indent_size = 4
# Java code files
[*.{java}]
indent_size = 2
# Pom files
[pom.xml]
indent_size = 2
# Xml project files
[*.{csproj,proj}]
indent_size = 2
# Xml config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
indent_size = 2
# JSON files
[*.json]
indent_size = 2
# CSharp code style settings:
[*.{cs}]
# Sort using and Import directives with System.* appearing first
dotnet_sort_system_directives_first = true