-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.editorconfig
40 lines (31 loc) · 935 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
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://EditorConfig.org
# top-most EditorConfig file
root = true
# Don't use tabs for indentation
[*]
indent_style = space
# Code files
[*.{cs,csx}]
indent_size = 4
# XML project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,msbuildproj,props,targets}]
indent_size = 2
# YAML files
[*.{yaml,yml}]
indent_size = 2
# JSON files
[*.json]
indent_size = 2
# CA1307: Specify StringComparison for clarity
# Clarity of intent is not required, this is non-localizable code.
[*.cs]
dotnet_diagnostic.CA1307.severity = none
# CA1310: Specify StringComparison for correctness
# User locales are not a concern.
[*.cs]
dotnet_diagnostic.CA1310.severity = none
# CA1707: Identifiers should not contain underscores
# Underscores are acceptable for unit test names.
[*.cs]
dotnet_diagnostic.CA1707.severity = none