Skip to content

Commit ec616a5

Browse files
Suppress Firebase build warning noise (#172)
1 parent 08632c7 commit ec616a5

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ indent_size = 2
1010
[*.cs]
1111
max_line_length = 120
1212

13+
# Firebase generated/binding warning suppressions
14+
[source/Firebase/CloudFirestore/Extensions.cs]
15+
dotnet_diagnostic.CS8621.severity = none
16+
17+
[source/Firebase/CloudFirestore/obj/**/Firebase.CloudFirestore/*.g.cs]
18+
dotnet_diagnostic.CS8604.severity = none
19+
20+
[source/Firebase/Database/obj/**/Firebase.Database/DatabaseQuery.g.cs]
21+
dotnet_diagnostic.CS0109.severity = none
22+
1323
#### Core EditorConfig Options ####
1424

1525
# Indentation and spacing

source/Firebase/CloudFirestore/ApiDefinition.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
using ObjCRuntime;
66
using CoreFoundation;
77

8+
#pragma warning disable CS8632 // BGen compiles API definitions outside the project nullable context.
9+
810
namespace Firebase.CloudFirestore
911
{
1012
// void (^ _Nullable)(NSError * _Nullable)

source/Google/AppCheckCore/AppCheckCore.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
1414
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1515
<CompressBindingResourcePackage>true</CompressBindingResourcePackage>
16+
<NoWarn>$(NoWarn);NU1603</NoWarn>
1617
</PropertyGroup>
1718
<PropertyGroup>
1819
<PackageId>AdamE.Google.iOS.AppCheckCore</PackageId>

0 commit comments

Comments
 (0)