Skip to content

Commit 78cc5a7

Browse files
committed
enable unused import warning and format code
1 parent 4f94b56 commit 78cc5a7

21 files changed

Lines changed: 3 additions & 41 deletions

File tree

‎.editorconfig‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ dotnet_diagnostic.CA1003.severity = none
2020

2121
dotnet_diagnostic.IDE0130.severity = none
2222

23+
# Unused imports
24+
dotnet_diagnostic.IDE0005.severity = warning
25+
2326
#
2427
# Sort using and Import directives with System.* appearing first
2528
dotnet_sort_system_directives_first = true

‎SpotifyAPI.Web.Auth/EmbedIOAuthServer.cs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
using System;
2-
using System.Globalization;
32
using System.Reflection;
43
using System.Text;
54
using System.Threading;
65
using System.Threading.Tasks;
7-
using System.Web;
86
using EmbedIO;
97
using EmbedIO.Actions;
108

‎SpotifyAPI.Web.Examples/Example.ASP/Pages/Error.cshtml.cs‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
using System;
2-
using System.Collections.Generic;
31
using System.Diagnostics;
4-
using System.Linq;
5-
using System.Threading.Tasks;
62
using Microsoft.AspNetCore.Mvc;
73
using Microsoft.AspNetCore.Mvc.RazorPages;
8-
using Microsoft.Extensions.Logging;
94

105
namespace Example.ASP.Pages
116
{

‎SpotifyAPI.Web.Examples/Example.ASP/Pages/Profile.cs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using Microsoft.AspNetCore.Authentication;
33
using Microsoft.AspNetCore.Mvc;
44
using Microsoft.AspNetCore.Mvc.RazorPages;
5-
using Microsoft.Extensions.Logging;
65
using SpotifyAPI.Web;
76

87
namespace Example.ASP.Pages

‎SpotifyAPI.Web.Examples/Example.ASP/Program.cs‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
51
using Microsoft.AspNetCore.Hosting;
62
using Microsoft.Extensions.Configuration;
73
using Microsoft.Extensions.Hosting;
8-
using Microsoft.Extensions.Logging;
94

105
namespace Example.ASP
116
{

‎SpotifyAPI.Web.Examples/Example.ASP/Startup.cs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
using System;
22
using System.Collections.Generic;
3-
using Microsoft.AspNetCore.Authentication;
43
using Microsoft.AspNetCore.Authentication.Cookies;
54
using Microsoft.AspNetCore.Builder;
65
using Microsoft.AspNetCore.Hosting;
7-
using Microsoft.AspNetCore.Http;
86
using Microsoft.Extensions.Configuration;
97
using Microsoft.Extensions.DependencyInjection;
108
using Microsoft.Extensions.Hosting;

‎SpotifyAPI.Web.Examples/Example.ASPBlazor/Startup.cs‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
51
using Example.ASPBlazor.Data;
62
using Microsoft.AspNetCore.Builder;
7-
using Microsoft.AspNetCore.Components;
83
using Microsoft.AspNetCore.Hosting;
9-
using Microsoft.AspNetCore.HttpsPolicy;
104
using Microsoft.Extensions.Configuration;
115
using Microsoft.Extensions.DependencyInjection;
126
using Microsoft.Extensions.Hosting;

‎SpotifyAPI.Web.Tests/Clients/BrowseClientTest.cs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
32
using System.Threading;
43
using System.Threading.Tasks;
54
using Moq;

‎SpotifyAPI.Web.Tests/Clients/SpotifyClientConfigTest.cs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System;
2-
using Moq;
31
using NUnit.Framework;
42
using SpotifyAPI.Web.Http;
53

‎SpotifyAPI.Web.Tests/Clients/SpotifyClientTest.cs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System.Collections.Generic;
2-
using System.Reflection;
31
using System.Threading;
42
using System.Threading.Tasks;
53
using Moq;

0 commit comments

Comments
 (0)