Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,6 @@ dotnet_diagnostic.CA2245.severity = warning
# CA2248: Provide correct enum argument to Enum.HasFlag
dotnet_diagnostic.CA2248.severity = warning

# RS0016: Only enable if API files are present
dotnet_public_api_analyzer.require_api_files = true

# RS0041: Do not use 'Obsolete' attribute
dotnet_diagnostic.RS0041.severity = none

Expand Down
10 changes: 10 additions & 0 deletions .globalconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
is_global = true

# RS0016: Only enable if API files are present
# This should NOT be in .editorconfig.
# .editorconfig is a per-file (syntax tree) concept.
# The public API analyzer will attempt to get the options for the **first tree**.
# The first tree could be a file outside of our repo (e.g, a source-only package like Polyfill)
# By having this option here in .globalconfig, we ensure it's picked up correctly regardless of what the first tree is.
# See comments in https://github.com/microsoft/testfx/pull/6230 for clarification.
dotnet_public_api_analyzer.require_api_files = true
Loading