microsoft/teams.net

Public

mirrored from https://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
feature/user-agent-header

Branches

Tags

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

Clone

HTTPS

Download ZIP

core/.editorconfig

41lines · 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
15dotnet_diagnostic.CA1848.severity = warning
16
17#### Nullable Reference Types ####
18# Make nullable warnings strict
19dotnet_diagnostic.CS8600.severity = error
20dotnet_diagnostic.CS8602.severity = error
21dotnet_diagnostic.CS8603.severity = error
22dotnet_diagnostic.CS8604.severity = error
23dotnet_diagnostic.CS8618.severity = error # Non-nullable field uninitialized
24
25# Code quality rules
26dotnet_code_quality_unused_parameters = all:suggestion
27dotnet_diagnostic.IDE0079.severity = warning
28
29#### Coding conventions ####
30dotnet_sort_system_directives_first = true
31csharp_new_line_before_open_brace = all
32csharp_new_line_before_else = true
33
34file_header_template = Copyright (c) Microsoft Corporation.\nLicensed under the MIT License.
35
36[samples/**/*.cs]
37dotnet_diagnostic.CA1848.severity = none # Suppress Logger perfomance in samples
38
39# Test projects can be more lenient
40[tests/**/*.cs]
41dotnet_diagnostic.CS8602.severity = warning
42