suppress irrelevant warnings
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Ben Harris 2024-04-19 19:34:36 -04:00
parent a1df2ed6b4
commit cea95cf486
19 changed files with 41 additions and 11 deletions

View File

@ -3,6 +3,7 @@ using System.Net.Sockets;
using System.Threading;
using IRCStates;
using IRCTokens;
// ReSharper disable StringLiteralTypo
namespace States;

View File

@ -1,4 +1,5 @@
using States;
// ReSharper disable StringLiteralTypo
var client = new Client("localhost", 6667, "statesbot");
client.Start();

View File

@ -2,6 +2,7 @@
using System.Net.Sockets;
using System.Threading;
using IRCTokens;
// ReSharper disable StringLiteralTypo
namespace Tokens;

View File

@ -1,4 +1,6 @@
namespace IRCSharp.Tests.State;
// ReSharper disable IdentifierTypo
// ReSharper disable StringLiteralTypo
namespace IRCSharp.Tests.State;
[TestClass]
public class Casemap

View File

@ -1,4 +1,5 @@
// ReSharper disable InconsistentNaming
// ReSharper disable StringLiteralTypo
namespace IRCSharp.Tests.State;
[TestClass]

View File

@ -1,4 +1,5 @@
namespace IRCSharp.Tests.State;
// ReSharper disable StringLiteralTypo
namespace IRCSharp.Tests.State;
[TestClass]
public class Mode

View File

@ -1,4 +1,5 @@
namespace IRCSharp.Tests.State;
// ReSharper disable StringLiteralTypo
namespace IRCSharp.Tests.State;
[TestClass]
public class Who

View File

@ -1,4 +1,5 @@
namespace IRCSharp.Tests.Tokenization;
// ReSharper disable StringLiteralTypo
namespace IRCSharp.Tests.Tokenization;
[TestClass]
public class Format

6
IRCSharp.sln.DotSettings Normal file
View File

@ -0,0 +1,6 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:schemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=ACK/@EntryIndexedValue">ACK</s:String>
<s:Boolean x:Key="/Default/UserDictionary/Words/=CHGHOST/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Invex/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=realname/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=SETNAME/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

View File

@ -1,4 +1,5 @@
using System;
// ReSharper disable IdentifierTypo
namespace IRCStates
{

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Local
namespace IRCStates
{

View File

@ -1,4 +1,6 @@
namespace IRCStates
// ReSharper disable IdentifierTypo
namespace IRCStates
{
public static class Commands
{

View File

@ -1,4 +1,5 @@
using System.Collections.Generic;
// ReSharper disable UnusedMember.Global
namespace IRCStates
{

View File

@ -1,10 +1,11 @@
// ReSharper disable InconsistentNaming
using System;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
// ReSharper disable InconsistentNaming
// ReSharper disable StringLiteralTypo
namespace IRCStates
{
public class ISupport
@ -15,7 +16,7 @@ namespace IRCStates
public ISupportPrefix Prefix { get; private set; } = new ISupportPrefix("(ov)@+");
public int? Modes { get; private set; } = 3;
public Casemap.CaseMapping CaseMapping { get; private set; } = Casemap.CaseMapping.Rfc1459;
public List<string> ChanTypes { get; private set; } = new List<string> {"#"};
public List<string> ChanTypes { get; private set; } = new List<string> { "#" };
public List<string> StatusMsg { get; private set; } = new List<string>();
public string CallerId { get; private set; }
public string Excepts { get; private set; }

View File

@ -1,6 +1,7 @@
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
// ReSharper disable CommentTypo
namespace IRCStates
{

View File

@ -27,6 +27,7 @@ namespace IRCStates
public List<string> Modes { get; }
public List<string> Prefixes { get; }
// ReSharper disable once UnusedMember.Global
public string FromMode(char mode)
{
return FromMode(mode.ToString(CultureInfo.InvariantCulture));

View File

@ -1,5 +1,6 @@
// ReSharper disable InconsistentNaming
// ReSharper disable UnusedMember.Global
// ReSharper disable IdentifierTypo
namespace IRCStates
{
/// <summary>

View File

@ -3,6 +3,11 @@ using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using IRCTokens;
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Global
// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable UnusedAutoPropertyAccessor.Global
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
namespace IRCStates
{
@ -76,7 +81,7 @@ namespace IRCStates
}
/// <summary>
/// Check for a user - not case sensitive
/// Check for a user - not case-sensitive
/// </summary>
/// <param name="nickname"></param>
/// <returns></returns>

View File

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
// ReSharper disable CommentTypo
namespace IRCTokens
{