Skip to content

Commit abfddd2

Browse files
committed
added SA1208 to ignore list.
1 parent fd61e39 commit abfddd2

14 files changed

Lines changed: 20 additions & 35 deletions

File tree

dotnet.ruleset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
</Rules>
117117
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
118118
<Rule Id="SA1649" Action="None"/>
119+
<Rule Id="SA1208" Action="None"/>
119120
<Rule Id="SA1616" Action="None"/>
120121
<Rule Id="SA1614" Action="None"/>
121122
<Rule Id="SA1505" Action="None" />

src/Bootstrapper/Controllers/Identity/AuditLogsController.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
51
using DN.WebApi.Application.Abstractions.Services.General;
62
using DN.WebApi.Application.Abstractions.Services.Identity;
73
using Microsoft.AspNetCore.Mvc;
4+
using System.Threading.Tasks;
85

96
namespace DN.WebApi.Bootstrapper.Controllers.Identity
107
{

src/Core/Application/Abstractions/Services/General/IAuditService.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
using DN.WebApi.Application.Wrapper;
2+
using DN.WebApi.Shared.DTOs.General.Responses;
13
using System;
24
using System.Collections.Generic;
3-
using System.Linq;
45
using System.Threading.Tasks;
5-
using DN.WebApi.Application.Wrapper;
6-
using DN.WebApi.Shared.DTOs.General.Responses;
76

87
namespace DN.WebApi.Application.Abstractions.Services.General
98
{

src/Core/Application/Abstractions/Services/General/IEmailTemplateService.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
5-
61
namespace DN.WebApi.Application.Abstractions.Services.General
72
{
83
public interface IEmailTemplateService : ITransientService

src/Infrastructure/Identity/Services/EmailTemplateService.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.IO;
4-
using System.Linq;
5-
using System.Threading.Tasks;
61
using DN.WebApi.Application.Abstractions.Services.General;
72
using Microsoft.Extensions.Localization;
3+
using System.IO;
84

95
namespace DN.WebApi.Infrastructure.Identity.Services
106
{

src/Infrastructure/Services/General/AuditService.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
51
using DN.WebApi.Application.Abstractions.Services.General;
62
using DN.WebApi.Application.Wrapper;
73
using DN.WebApi.Infrastructure.Persistence;
84
using DN.WebApi.Shared.DTOs.General.Responses;
95
using Mapster;
106
using Microsoft.EntityFrameworkCore;
7+
using System;
8+
using System.Collections.Generic;
9+
using System.Linq;
10+
using System.Threading.Tasks;
1111

1212
namespace DN.WebApi.Infrastructure.Services.General
1313
{

src/Migrators/Migrators.MySQL/Migrations/Application/20211002051505_initial.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Microsoft.EntityFrameworkCore.Metadata;
1+
using System;
2+
using Microsoft.EntityFrameworkCore.Metadata;
23
using Microsoft.EntityFrameworkCore.Migrations;
3-
using System;
44

55
namespace Migrators.MySQL.Migrations.Application
66
{

src/Migrators/Migrators.MySQL/Migrations/Application/20211015023925_UpdatedRoleClaims.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Microsoft.EntityFrameworkCore.Migrations;
2-
using System;
1+
using System;
2+
using Microsoft.EntityFrameworkCore.Migrations;
33

44
namespace Migrators.MySQL.Migrations.Application
55
{

src/Migrators/Migrators.MySQL/Migrations/Root/20210913102311_Initial.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Microsoft.EntityFrameworkCore.Migrations;
2-
using System;
1+
using System;
2+
using Microsoft.EntityFrameworkCore.Migrations;
33

44
namespace Migrators.MySQL.Migrations.Root
55
{

src/Migrators/Migrators.MySQL/Migrations/Root/20210913182047_TenancyUpgrade.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Microsoft.EntityFrameworkCore.Migrations;
2-
using System;
1+
using System;
2+
using Microsoft.EntityFrameworkCore.Migrations;
33

44
namespace Migrators.MySQL.Migrations.Root
55
{

0 commit comments

Comments
 (0)