enable unused import warning and format code

This commit is contained in:
Jonas Dellinger 2024-02-10 11:42:55 +01:00
parent 4f94b564ea
commit 78cc5a78da
21 changed files with 3 additions and 41 deletions

View File

@ -20,6 +20,9 @@ dotnet_diagnostic.CA1003.severity = none
dotnet_diagnostic.IDE0130.severity = none
# Unused imports
dotnet_diagnostic.IDE0005.severity = warning
#
# Sort using and Import directives with System.* appearing first
dotnet_sort_system_directives_first = true

View File

@ -1,10 +1,8 @@
using System;
using System.Globalization;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using EmbedIO;
using EmbedIO.Actions;

View File

@ -1,11 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace Example.ASP.Pages
{

View File

@ -2,7 +2,6 @@ using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using SpotifyAPI.Web;
namespace Example.ASP.Pages

View File

@ -1,11 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace Example.ASP
{

View File

@ -1,10 +1,8 @@
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

View File

@ -1,12 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Example.ASPBlazor.Data;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

View File

@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Moq;

View File

@ -1,5 +1,3 @@
using System;
using Moq;
using NUnit.Framework;
using SpotifyAPI.Web.Http;

View File

@ -1,5 +1,3 @@
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Moq;

View File

@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Newtonsoft.Json;

View File

@ -1,4 +1,3 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using SpotifyAPI.Web.Http;

View File

@ -2,7 +2,6 @@ using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using SpotifyAPI.Web;
using SpotifyAPI.Web.Http;
namespace SpotifyAPI.Web

View File

@ -1,5 +1,4 @@
using System;
using System.Net.Http;
using SpotifyAPI.Web.Http;
namespace SpotifyAPI.Web

View File

@ -1,5 +1,3 @@
using System.Threading.Tasks;
namespace SpotifyAPI.Web.Http
{
public interface IJSONSerializer

View File

@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;

View File

@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Net;

View File

@ -1,5 +1,3 @@
using System;
namespace SpotifyAPI.Web
{
public class PKCETokenRefreshRequest

View File

@ -1,5 +1,4 @@
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,5 +1,3 @@
using System;
namespace SpotifyAPI.Web
{
public class TrackMeta

View File

@ -1,4 +1,3 @@
using System;
using System.Threading;
using System.Threading.Tasks;