diff options
author | Stephen Toub <stoub@microsoft.com> | 2020-09-24 05:26:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 05:26:31 +0300 |
commit | 3b6600cbefe6b96706c5315ce184accbb4501f3b (patch) | |
tree | 6d94603556ddd0ab146e45f1053c930581da773c /.editorconfig | |
parent | 547b2018a9013e18a9128478355380796d7ebccd (diff) |
Add IDE warnings to code analysis ruleset (#42566)
- Add all IDEXXXX warnings to ruleset, but as hidden for now
- Enable IDE0073: file header mismatch
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.editorconfig b/.editorconfig index 9d03bd30636..29553d08aa7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -15,6 +15,10 @@ trim_trailing_whitespace = true [project.json] indent_size = 2 +# Generated code +[*{_AssemblyInfo.cs,.notsupported.cs}] +generated_code = true + # C# files [*.cs] # New line preferences @@ -158,7 +162,7 @@ dotnet_code_quality.ca1802.api_surface = private, internal dotnet_code_quality.ca2208.api_surface = public # License header -file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license.\n +file_header_template = Licensed to the .NET Foundation under one or more agreements.\nThe .NET Foundation licenses this file to you under the MIT license. # C++ Files [*.{cpp,h,in}] |