Skip to content

Commit

Permalink
Enable implicit usings
Browse files Browse the repository at this point in the history
  • Loading branch information
prplecake committed Apr 17, 2023
1 parent 7386656 commit 4f696d7
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 32 deletions.
2 changes: 1 addition & 1 deletion BookmarkSync.CLI/BookmarkSync.CLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AssemblyName>mastodon-bookmark-sync</AssemblyName>
<Version>2.0.0-alpha</Version>
Expand Down
3 changes: 1 addition & 2 deletions BookmarkSync.CLI/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using BookmarkSync.Core.Configuration;
using BookmarkSync.Core.Configuration;
using BookmarkSync.Infrastructure.Services.Bookmarking;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
Expand Down
2 changes: 1 addition & 1 deletion BookmarkSync.Core/BookmarkSync.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

Expand Down
3 changes: 0 additions & 3 deletions BookmarkSync.Core/Configuration/ConfigManager.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using BookmarkSync.Core.Entities.Config;
using CiT.Common.Exceptions;
using Microsoft.Extensions.Configuration;
Expand Down
1 change: 0 additions & 1 deletion BookmarkSync.Core/Entities/Config/App.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using CiT.Common.Attributes;

namespace BookmarkSync.Core.Entities.Config;
Expand Down
2 changes: 0 additions & 2 deletions BookmarkSync.Core/Interfaces/IBookmarkingService.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Net.Http;
using System.Threading.Tasks;
using BookmarkSync.Core.Entities;

namespace BookmarkSync.Core.Interfaces;
Expand Down
2 changes: 0 additions & 2 deletions BookmarkSync.Core/Utilities/HtmlUtilities.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.IO;
using HtmlAgilityPack;

namespace BookmarkSync.Core.Utilities;
Expand Down
1 change: 0 additions & 1 deletion BookmarkSync.Core/Utilities/UriUtilities.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Text.RegularExpressions;
using Serilog;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using BookmarkSync.Core.Configuration;
using BookmarkSync.Core.Entities;
using BookmarkSync.Core.Entities.Config;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Mime;
using BookmarkSync.Core;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Mime;
using System.Text;
using System.Threading.Tasks;
using BookmarkSync.Core.Configuration;
using BookmarkSync.Core.Entities;
using BookmarkSync.Core.Interfaces;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using BookmarkSync.Core.Configuration;
using BookmarkSync.Core.Entities;
Expand Down
3 changes: 0 additions & 3 deletions BookmarkSync.Infrastructure/Services/Mastodon/ApiClient.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Net.Mime;
using System.Threading.Tasks;
using BookmarkSync.Core;
using BookmarkSync.Core.Entities;
using BookmarkSync.Core.Entities.Config;
Expand Down

0 comments on commit 4f696d7

Please sign in to comment.