Skip to content

Commit

Permalink
Upgrade StyleCop.Analyzers to 1.1.0-beta001 which allows enforcing 't…
Browse files Browse the repository at this point in the history
…abs' instead of spaces
  • Loading branch information
Jericho committed Feb 13, 2017
1 parent 26d5cb8 commit 27c8d6a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Source/StrongGrid.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@
<Rule Id="CA2242" Action="Warning" />
</Rules>
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="SA1027" Action="None" />
<Rule Id="SA1101" Action="None" />
<Rule Id="SA1124" Action="None" />
<Rule Id="SA1200" Action="None" />
<Rule Id="SA1201" Action="None" />
<Rule Id="SA1309" Action="None" />
<Rule Id="SA1310" Action="None" />
<Rule Id="SA1402" Action="None" />
<Rule Id="SA1413" Action="None" />
<Rule Id="SA1502" Action="None" />
<Rule Id="SA1501" Action="None" />
<Rule Id="SA1503" Action="None" />
Expand Down
14 changes: 7 additions & 7 deletions Source/StrongGrid/Model/Webhooks/EventType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ public enum EventType

/// <summary>
/// You may see the following drop reasons:
/// - Invalid SMTPAPI header,
/// - Spam Content (if spam checker app enabled),
/// - Unsubscribed Address,
/// -Bounced Address,
/// - Spam Reporting Address,
/// - Invalid,
/// - Recipient List over Package Quota
/// - Invalid SMTPAPI header,
/// - Spam Content (if spam checker app enabled),
/// - Unsubscribed Address,
/// - Bounced Address,
/// - Spam Reporting Address,
/// - Invalid,
/// - Recipient List over Package Quota
/// </summary>
[EnumMember(Value = "dropped")]
Dropped,
Expand Down
4 changes: 2 additions & 2 deletions Source/StrongGrid/Resources/ApiKeys.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ public async Task<ApiKey> CreateWithAllPermissionsAsync(string name, Cancellatio
.ConfigureAwait(false);

// The SendGrid documentation clearly states:
// Billing permissions are mutually exclusive from all others.
// An API Key can either have Billing Permissions, or any other set of Permissions.
// Billing permissions are mutually exclusive from all others.
// An API Key can either have Billing Permissions, or any other set of Permissions.
// Therefore it's important to exclude 'billing' permissions.
permissions = permissions.Where(p => !p.StartsWith("billing.", StringComparison.OrdinalIgnoreCase)).ToArray();

Expand Down
4 changes: 2 additions & 2 deletions Source/StrongGrid/Utilities/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ public static long ToUnixTime(this DateTime date)
/// <code>
/// var httpRequest = new HttpRequestMessage
/// {
/// Method = HttpMethod.Get,
/// RequestUri = new Uri("https://api.vendor.com/v1/endpoint")
/// Method = HttpMethod.Get,
/// RequestUri = new Uri("https://api.vendor.com/v1/endpoint")
/// };
/// var httpClient = new HttpClient();
/// var response = await httpClient.SendAsync(httpRequest, CancellationToken.None).ConfigureAwait(false);
Expand Down
2 changes: 1 addition & 1 deletion Source/StrongGrid/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"Newtonsoft.Json": "9.0.1",
"Pathoschild.Http.FluentClient": "3.0.0",
"StyleCop.Analyzers": {
"version": "1.0.0",
"version": "1.1.0-beta001",
"type": "build"
}
},
Expand Down

0 comments on commit 27c8d6a

Please sign in to comment.