fix: Correções de algumas issues do SonarCloud #47
Annotations
1 error and 10 warnings
|
sonarcloud
Process completed with exit code 1.
|
|
sonarcloud:
src/Riber.Infrastructure/Persistence/Migrations/20250810212129_AddInvitationEntityAndPermissionSeeders.cs#L34
Define a constant instead of using this literal 'aspnet_role' 9 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
|
sonarcloud:
src/Riber.Infrastructure/Persistence/Migrations/20250810212129_AddInvitationEntityAndPermissionSeeders.cs#L26
Define a constant instead of using this literal 'aspnet_user_claim' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
|
sonarcloud:
src/Riber.Infrastructure/Persistence/Migrations/20250810212129_AddInvitationEntityAndPermissionSeeders.cs#L18
Define a constant instead of using this literal 'aspnet_user' 24 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
|
sonarcloud:
src/Riber.Infrastructure/Persistence/Seeders/ApplicationRoleClaimSeeder.cs#L43
Define a constant instead of using this literal 'products.read' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
|
sonarcloud:
src/Riber.Infrastructure/Persistence/Seeders/ApplicationPermissionSeeder.cs#L39
Define a constant instead of using this literal 'Users' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
|
sonarcloud:
src/Riber.Infrastructure/Persistence/Seeders/ApplicationPermissionSeeder.cs#L33
Define a constant instead of using this literal 'Categories' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
|
sonarcloud:
src/Riber.Infrastructure/Persistence/Seeders/ApplicationPermissionSeeder.cs#L26
Define a constant instead of using this literal 'Products' 5 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
|
sonarcloud:
src/Riber.Infrastructure/Persistence/Seeders/ApplicationPermissionSeeder.cs#L20
Define a constant instead of using this literal 'Orders' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
|
sonarcloud:
src/Riber.Infrastructure/Persistence/Seeders/ApplicationPermissionSeeder.cs#L14
Define a constant instead of using this literal 'Companies' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
|
sonarcloud:
src/Riber.Domain/Entities/BaseEntity.cs#L10
Seal class 'BaseEntity' or implement 'IEqualityComparer<T>' instead. (https://rules.sonarsource.com/csharp/RSPEC-4035)
|