microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
6594a29aa91c928c547a8821d305758bc8d340ed

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

core/.editorconfig

40lines · modecode

1root = true
2
3# All files
4[*]
5charset = utf-8
6insert_final_newline = true
7trim_trailing_whitespace = true
8
9# C# files
10[*.cs]
11indent_style = space
12indent_size = 4
13nullable = enable
14#dotnet_diagnostic.CS1591.severity = none ## Suppress missing XML comment warnings
15
16#### Nullable Reference Types ####
17# Make nullable warnings strict
18dotnet_diagnostic.CS8600.severity = error
19dotnet_diagnostic.CS8602.severity = error
20dotnet_diagnostic.CS8603.severity = error
21dotnet_diagnostic.CS8604.severity = error
22dotnet_diagnostic.CS8618.severity = error # Non-nullable field uninitialized
23
24# Code quality rules
25dotnet_code_quality_unused_parameters = all:suggestion
26dotnet_diagnostic.IDE0079.severity = warning
27
28#### Coding conventions ####
29dotnet_sort_system_directives_first = true
30csharp_new_line_before_open_brace = all
31csharp_new_line_before_else = true
32
33file_header_template = Copyright (c) Microsoft Corporation.\nLicensed under the MIT License.
34
35[samples/**/*.cs]
36dotnet_diagnostic.CA1848.severity = none # Suppress Logger performance in samples
37
38# Test projects can be more lenient
39[tests/**/*.cs]
40dotnet_diagnostic.CS8602.severity = warning
41