Remove BOM

This commit is contained in:
tyrrrz
2026-04-19 23:13:12 +03:00
parent 7456f0fe3a
commit 34b5ccc75b
175 changed files with 175 additions and 175 deletions

View File

@@ -1,4 +1,4 @@
using System.Text.Json;
using System.Text.Json;
using JsonExtensions.Reading;
using PowerKit.Extensions;

View File

@@ -1,4 +1,4 @@
using System;
using System;
namespace DiscordChatExporter.Core.Discord.Data;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
using System.Text.Json;
using DiscordChatExporter.Core.Discord.Data.Common;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using DiscordChatExporter.Core.Discord.Data.Common;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
namespace DiscordChatExporter.Core.Discord.Data;

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Discord.Data;
namespace DiscordChatExporter.Core.Discord.Data;
// https://discord.com/developers/docs/resources/channel#channel-object-channel-types
public enum ChannelKind

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Discord.Data.Common;
namespace DiscordChatExporter.Core.Discord.Data.Common;
public interface IHasId
{

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Globalization;
using System.Linq;

View File

@@ -1,4 +1,4 @@
using System.Text.RegularExpressions;
using System.Text.RegularExpressions;
namespace DiscordChatExporter.Core.Discord.Data.Embeds;

View File

@@ -1,4 +1,4 @@
using System.Text.RegularExpressions;
using System.Text.RegularExpressions;
namespace DiscordChatExporter.Core.Discord.Data.Embeds;

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Discord.Data.Embeds;
namespace DiscordChatExporter.Core.Discord.Data.Embeds;
public partial record YouTubeVideoEmbedProjection(string VideoId)
{

View File

@@ -1,4 +1,4 @@
using System.Text.Json;
using System.Text.Json;
using DiscordChatExporter.Core.Discord.Data.Common;
using DiscordChatExporter.Core.Utils;
using JsonExtensions.Reading;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;

View File

@@ -1,4 +1,4 @@
using System.Text.Json;
using System.Text.Json;
using DiscordChatExporter.Core.Discord.Data.Common;
using JsonExtensions.Reading;
using PowerKit.Extensions;

View File

@@ -1,4 +1,4 @@
using System.Text.Json;
using System.Text.Json;
using JsonExtensions.Reading;
using PowerKit.Extensions;

View File

@@ -1,4 +1,4 @@
using System.Text.Json;
using System.Text.Json;
using System.Text.RegularExpressions;
using JsonExtensions.Reading;
using PowerKit.Extensions;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using DiscordChatExporter.Core.Discord.Data.Common;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;

View File

@@ -1,4 +1,4 @@
using System;
using System;
namespace DiscordChatExporter.Core.Discord.Data;

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Discord.Data;
namespace DiscordChatExporter.Core.Discord.Data;
// https://discord.com/developers/docs/resources/channel#message-object-message-types
public enum MessageKind

View File

@@ -1,4 +1,4 @@
using System.Text.Json;
using System.Text.Json;
using PowerKit.Extensions;
namespace DiscordChatExporter.Core.Discord.Data;

View File

@@ -1,4 +1,4 @@
using System.Drawing;
using System.Drawing;
using System.Text.Json;
using DiscordChatExporter.Core.Discord.Data.Common;
using JsonExtensions.Reading;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Text.Json;
using DiscordChatExporter.Core.Discord.Data.Common;
using JsonExtensions.Reading;

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Discord.Data;
namespace DiscordChatExporter.Core.Discord.Data;
public enum StickerFormat
{

View File

@@ -1,4 +1,4 @@
using System.Text.Json;
using System.Text.Json;
using DiscordChatExporter.Core.Discord.Data.Common;
using JsonExtensions.Reading;
using PowerKit.Extensions;

View File

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

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO.Compression;
using System.Linq;

View File

@@ -1,3 +1,3 @@
namespace DiscordChatExporter.Core.Discord.Dump;
namespace DiscordChatExporter.Core.Discord.Dump;
public record DataDumpChannel(Snowflake Id, string Name);

View File

@@ -1,4 +1,4 @@
using System;
using System;
namespace DiscordChatExporter.Core.Discord;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Discord;
namespace DiscordChatExporter.Core.Discord;
public enum TokenKind
{

View File

@@ -1,4 +1,4 @@
using System;
using System;
namespace DiscordChatExporter.Core.Exceptions;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Threading;
using System.Threading.Tasks;
using DiscordChatExporter.Core.Discord;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;

View File

@@ -1,4 +1,4 @@
using System;
using System;
namespace DiscordChatExporter.Core.Exporting;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Globalization;
using System.IO;
using System.Text;

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Exporting.Filtering;
namespace DiscordChatExporter.Core.Exporting.Filtering;
internal enum BinaryExpressionKind
{

View File

@@ -1,4 +1,4 @@
using System;
using System;
using DiscordChatExporter.Core.Discord.Data;
namespace DiscordChatExporter.Core.Exporting.Filtering;

View File

@@ -1,4 +1,4 @@
using System.Linq;
using System.Linq;
using System.Text.RegularExpressions;
using DiscordChatExporter.Core.Discord.Data;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using DiscordChatExporter.Core.Discord.Data;
namespace DiscordChatExporter.Core.Exporting.Filtering;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using DiscordChatExporter.Core.Discord.Data;
using DiscordChatExporter.Core.Markdown.Parsing;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using DiscordChatExporter.Core.Discord.Data;

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Exporting.Filtering;
namespace DiscordChatExporter.Core.Exporting.Filtering;
internal enum MessageContentMatchKind
{

View File

@@ -1,4 +1,4 @@
using DiscordChatExporter.Core.Discord.Data;
using DiscordChatExporter.Core.Discord.Data;
using DiscordChatExporter.Core.Exporting.Filtering.Parsing;
using Superpower;

View File

@@ -1,4 +1,4 @@
using DiscordChatExporter.Core.Discord.Data;
using DiscordChatExporter.Core.Discord.Data;
namespace DiscordChatExporter.Core.Exporting.Filtering;

View File

@@ -1,4 +1,4 @@
using DiscordChatExporter.Core.Discord.Data;
using DiscordChatExporter.Core.Discord.Data;
namespace DiscordChatExporter.Core.Exporting.Filtering;

View File

@@ -1,4 +1,4 @@
using DiscordChatExporter.Core.Utils.Extensions;
using DiscordChatExporter.Core.Utils.Extensions;
using Superpower;
using Superpower.Parsers;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using DiscordChatExporter.Core.Discord.Data;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using System.Net;
using System.Text;

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Exporting.Partitioning;
namespace DiscordChatExporter.Core.Exporting.Partitioning;
internal class FileSizePartitionLimit(long limit) : PartitionLimit
{

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Exporting.Partitioning;
namespace DiscordChatExporter.Core.Exporting.Partitioning;
internal class MessageCountPartitionLimit(long limit) : PartitionLimit
{

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Exporting.Partitioning;
namespace DiscordChatExporter.Core.Exporting.Partitioning;
internal class NullPartitionLimit : PartitionLimit
{

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Globalization;
using System.Text.RegularExpressions;

View File

@@ -1,4 +1,4 @@
using System.Text;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using DiscordChatExporter.Core.Markdown;

View File

@@ -1,4 +1,4 @@
using System.Globalization;
using System.Globalization;
using System.Linq;
using DiscordChatExporter.Core.Discord.Data;
using PowerKit.Extensions;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;

View File

@@ -1,4 +1,4 @@
@using System
@using System
@inherits RazorBlade.HtmlTemplate

View File

@@ -1,4 +1,4 @@
@using System
@using System
@using System.Threading.Tasks
@inherits RazorBlade.HtmlTemplate

View File

@@ -1,4 +1,4 @@
using DiscordChatExporter.Core.Discord;
using DiscordChatExporter.Core.Discord;
using DiscordChatExporter.Core.Discord.Data;
namespace DiscordChatExporter.Core.Markdown;

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Markdown;
namespace DiscordChatExporter.Core.Markdown;
internal enum FormattingKind
{

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
namespace DiscordChatExporter.Core.Markdown;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
namespace DiscordChatExporter.Core.Markdown;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
namespace DiscordChatExporter.Core.Markdown;

View File

@@ -1,3 +1,3 @@
namespace DiscordChatExporter.Core.Markdown;
namespace DiscordChatExporter.Core.Markdown;
internal record InlineCodeBlockNode(string Code) : MarkdownNode;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
namespace DiscordChatExporter.Core.Markdown;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
namespace DiscordChatExporter.Core.Markdown;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
namespace DiscordChatExporter.Core.Markdown;

View File

@@ -1,3 +1,3 @@
namespace DiscordChatExporter.Core.Markdown;
namespace DiscordChatExporter.Core.Markdown;
internal abstract record MarkdownNode;

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Markdown;
namespace DiscordChatExporter.Core.Markdown;
internal enum MentionKind
{

View File

@@ -1,4 +1,4 @@
using DiscordChatExporter.Core.Discord;
using DiscordChatExporter.Core.Discord;
namespace DiscordChatExporter.Core.Markdown;

View File

@@ -1,3 +1,3 @@
namespace DiscordChatExporter.Core.Markdown;
namespace DiscordChatExporter.Core.Markdown;
internal record MultiLineCodeBlockNode(string Language, string Code) : MarkdownNode;

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
namespace DiscordChatExporter.Core.Markdown.Parsing;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
namespace DiscordChatExporter.Core.Markdown.Parsing;

View File

@@ -1,3 +1,3 @@
namespace DiscordChatExporter.Core.Markdown.Parsing;
namespace DiscordChatExporter.Core.Markdown.Parsing;
internal readonly record struct MarkdownContext(int Depth = 0);

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
namespace DiscordChatExporter.Core.Markdown.Parsing;
namespace DiscordChatExporter.Core.Markdown.Parsing;
internal class ParsedMatch<T>(StringSegment segment, T value)
{

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Text.RegularExpressions;
namespace DiscordChatExporter.Core.Markdown.Parsing;

View File

@@ -1,4 +1,4 @@
using System;
using System;
namespace DiscordChatExporter.Core.Markdown.Parsing;

View File

@@ -1,4 +1,4 @@
using System.Text.RegularExpressions;
using System.Text.RegularExpressions;
namespace DiscordChatExporter.Core.Markdown.Parsing;

View File

@@ -1,3 +1,3 @@
namespace DiscordChatExporter.Core.Markdown;
namespace DiscordChatExporter.Core.Markdown;
internal record TextNode(string Text) : MarkdownNode;

View File

@@ -1,4 +1,4 @@
using System;
using System;
namespace DiscordChatExporter.Core.Markdown;

View File

@@ -1,4 +1,4 @@
using System;
using System;
namespace DiscordChatExporter.Core.Utils;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Diagnostics.CodeAnalysis;
using Superpower;
using Superpower.Parsers;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using System.Net;
using System.Net.Http;

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.IO;
using System.Text;

View File

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