Skip to content

Commit

Permalink
feat: add husky for handling pre commit rules
Browse files Browse the repository at this point in the history
  • Loading branch information
meysamhadeli committed Sep 15, 2024
1 parent 6da82e3 commit 89657e8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 12 deletions.
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx --no -- commitlint --edit ${1}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "booking-microservices",
"version": "1.0.0",
"description": "",
"description": "booking-microservices",
"author": "Meysam Hadeli",
"license": "MIT",
"main": "index.js",
Expand Down
5 changes: 0 additions & 5 deletions src/ApiGateway/src/ApiGateway.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\BuildingBlocks\BuildingBlocks.csproj" />
</ItemGroup>
Expand Down
6 changes: 1 addition & 5 deletions src/Services/Booking/src/Booking/Booking.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<ProjectReference Include="..\..\..\..\BuildingBlocks\BuildingBlocks.csproj" />
</ItemGroup>
Expand All @@ -9,10 +9,6 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public static IServiceCollection AddGrpcClients(this IServiceCollection services
})
.AddGrpcRetryPolicyHandler()
.AddGrpcCircuitBreakerPolicyHandler();
;

return services;
}
Expand Down

0 comments on commit 89657e8

Please sign in to comment.