style: remove BOM
This commit is contained in:
parent
1a726b4962
commit
143131b413
@ -1,4 +1,4 @@
|
|||||||
**/.dockerignore
|
**/.dockerignore
|
||||||
**/.env
|
**/.env
|
||||||
**/.git
|
**/.git
|
||||||
**/.gitignore
|
**/.gitignore
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using OliverBooth.Data.Blog;
|
using OliverBooth.Data.Blog;
|
||||||
using OliverBooth.Services;
|
using OliverBooth.Services;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@page "/blog/{year:int}/{month:int}/{day:int}/{slug}"
|
@page "/blog/{year:int}/{month:int}/{day:int}/{slug}"
|
||||||
@using Humanizer
|
@using Humanizer
|
||||||
@using OliverBooth.Data.Blog
|
@using OliverBooth.Data.Blog
|
||||||
@using OliverBooth.Services
|
@using OliverBooth.Services
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
using OliverBooth.Data.Blog;
|
using OliverBooth.Data.Blog;
|
||||||
using OliverBooth.Services;
|
using OliverBooth.Services;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
using OliverBooth.Data.Blog;
|
using OliverBooth.Data.Blog;
|
||||||
using OliverBooth.Services;
|
using OliverBooth.Services;
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
@page "/blog/{year:int}/{month:int}/{day:int}/{slug}/raw"
|
@page "/blog/{year:int}/{month:int}/{day:int}/{slug}/raw"
|
||||||
@model OliverBooth.Areas.Blog.Pages.RawArticle
|
@model OliverBooth.Areas.Blog.Pages.RawArticle
|
@ -1,4 +1,4 @@
|
|||||||
using Cysharp.Text;
|
using Cysharp.Text;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
using OliverBooth.Data.Blog;
|
using OliverBooth.Data.Blog;
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
@{
|
@{
|
||||||
Layout = "_Layout";
|
Layout = "_Layout";
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using SmartFormat;
|
using SmartFormat;
|
||||||
|
|
||||||
namespace OliverBooth.Data.Blog;
|
namespace OliverBooth.Data.Blog;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||||
|
|
||||||
namespace OliverBooth.Data.Blog.Configuration;
|
namespace OliverBooth.Data.Blog.Configuration;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||||
|
|
||||||
namespace OliverBooth.Data.Blog.Configuration;
|
namespace OliverBooth.Data.Blog.Configuration;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using OliverBooth.Data.Blog;
|
using OliverBooth.Data.Blog;
|
||||||
using OliverBooth.Data.Blog.Configuration;
|
using OliverBooth.Data.Blog.Configuration;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace OliverBooth.Data.Rss;
|
namespace OliverBooth.Data.Rss;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace OliverBooth.Data.Rss;
|
namespace OliverBooth.Data.Rss;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace OliverBooth.Data.Rss;
|
namespace OliverBooth.Data.Rss;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
|
|
||||||
namespace OliverBooth.Data.Rss;
|
namespace OliverBooth.Data.Rss;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace OliverBooth.Data.Web;
|
namespace OliverBooth.Data.Web;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a MediaWiki-style template.
|
/// Represents a MediaWiki-style template.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||||
|
|
||||||
namespace OliverBooth.Data.Web.Configuration;
|
namespace OliverBooth.Data.Web.Configuration;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||||
|
|
||||||
namespace OliverBooth.Data.Web.Configuration;
|
namespace OliverBooth.Data.Web.Configuration;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace OliverBooth.Data.Web;
|
namespace OliverBooth.Data.Web;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a site configuration item.
|
/// Represents a site configuration item.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using SmartFormat.Core.Extensions;
|
using SmartFormat.Core.Extensions;
|
||||||
|
|
||||||
namespace OliverBooth;
|
namespace OliverBooth;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using NLog;
|
using NLog;
|
||||||
using NLog.Targets;
|
using NLog.Targets;
|
||||||
using LogLevel = NLog.LogLevel;
|
using LogLevel = NLog.LogLevel;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using NLog;
|
using NLog;
|
||||||
using NLog.Targets;
|
using NLog.Targets;
|
||||||
using OliverBooth.Services;
|
using OliverBooth.Services;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Markdig;
|
using Markdig;
|
||||||
using Markdig.Renderers;
|
using Markdig.Renderers;
|
||||||
using OliverBooth.Services;
|
using OliverBooth.Services;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Markdig.Syntax.Inlines;
|
using Markdig.Syntax.Inlines;
|
||||||
|
|
||||||
namespace OliverBooth.Markdown;
|
namespace OliverBooth.Markdown;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Cysharp.Text;
|
using Cysharp.Text;
|
||||||
using Markdig.Helpers;
|
using Markdig.Helpers;
|
||||||
using Markdig.Parsers;
|
using Markdig.Parsers;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Markdig.Renderers;
|
using Markdig.Renderers;
|
||||||
using Markdig.Renderers.Html;
|
using Markdig.Renderers.Html;
|
||||||
using OliverBooth.Services;
|
using OliverBooth.Services;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Markdig;
|
using Markdig;
|
||||||
using Markdig.Renderers;
|
using Markdig.Renderers;
|
||||||
|
|
||||||
namespace OliverBooth.Markdown.Timestamp;
|
namespace OliverBooth.Markdown.Timestamp;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace OliverBooth.Markdown.Timestamp;
|
namespace OliverBooth.Markdown.Timestamp;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An enumeration of timestamp formats.
|
/// An enumeration of timestamp formats.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Markdig.Syntax.Inlines;
|
using Markdig.Syntax.Inlines;
|
||||||
|
|
||||||
namespace OliverBooth.Markdown.Timestamp;
|
namespace OliverBooth.Markdown.Timestamp;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Markdig.Helpers;
|
using Markdig.Helpers;
|
||||||
using Markdig.Parsers;
|
using Markdig.Parsers;
|
||||||
|
|
||||||
namespace OliverBooth.Markdown.Timestamp;
|
namespace OliverBooth.Markdown.Timestamp;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Markdig.Renderers;
|
using Markdig.Renderers;
|
||||||
using Markdig.Renderers.Html;
|
using Markdig.Renderers.Html;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
namespace OliverBooth.Middleware;
|
namespace OliverBooth.Middleware;
|
||||||
|
|
||||||
internal static class RssEndpointExtensions
|
internal static class RssEndpointExtensions
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using System.Xml.Serialization;
|
using System.Xml.Serialization;
|
||||||
using OliverBooth.Data.Blog;
|
using OliverBooth.Data.Blog;
|
||||||
using OliverBooth.Data.Rss;
|
using OliverBooth.Data.Rss;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@page "/contact/open-source"
|
@page "/contact/open-source"
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Contact";
|
ViewData["Title"] = "Contact";
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@page
|
@page
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Contact";
|
ViewData["Title"] = "Contact";
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@page "/contact/privacy/{which?}"
|
@page "/contact/privacy/{which?}"
|
||||||
@model OliverBooth.Pages.Contact.Privacy
|
@model OliverBooth.Pages.Contact.Privacy
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Contact";
|
ViewData["Title"] = "Contact";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
|
|
||||||
namespace OliverBooth.Pages.Contact;
|
namespace OliverBooth.Pages.Contact;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@page "/contact/technical-help"
|
@page "/contact/technical-help"
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Contact";
|
ViewData["Title"] = "Contact";
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@page
|
@page
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Donate";
|
ViewData["Title"] = "Donate";
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@page "/error/{code:int?}"
|
@page "/error/{code:int?}"
|
||||||
@model OliverBooth.Pages.ErrorModel
|
@model OliverBooth.Pages.ErrorModel
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Error";
|
ViewData["Title"] = "Error";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@page "/privacy/google-play"
|
@page "/privacy/google-play"
|
||||||
@model OliverBooth.Pages.Privacy.GooglePlay
|
@model OliverBooth.Pages.Privacy.GooglePlay
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Google Play Privacy Policy";
|
ViewData["Title"] = "Google Play Privacy Policy";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
|
|
||||||
namespace OliverBooth.Pages.Privacy;
|
namespace OliverBooth.Pages.Privacy;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
@page
|
@page
|
||||||
@model OliverBooth.Pages.Privacy.Index
|
@model OliverBooth.Pages.Privacy.Index
|
||||||
@{
|
@{
|
||||||
ViewData["Title"] = "Privacy Policy";
|
ViewData["Title"] = "Privacy Policy";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Microsoft.AspNetCore.Mvc.RazorPages;
|
using Microsoft.AspNetCore.Mvc.RazorPages;
|
||||||
|
|
||||||
namespace OliverBooth.Pages.Privacy;
|
namespace OliverBooth.Pages.Privacy;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<div id="blog-loading-spinner" class="d-flex justify-content-center">
|
<div id="blog-loading-spinner" class="d-flex justify-content-center">
|
||||||
<div class="spinner-border text-light" role="status">
|
<div class="spinner-border text-light" role="status">
|
||||||
<p class="text-center sr-only">Loading...</p>
|
<p class="text-center sr-only">Loading...</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
|
<script src="~/lib/jquery-validation/dist/jquery.validate.min.js"></script>
|
||||||
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>
|
<script src="~/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js"></script>
|
@ -1,2 +1,2 @@
|
|||||||
@namespace OliverBooth.Pages
|
@namespace OliverBooth.Pages
|
||||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
@ -1,3 +1,3 @@
|
|||||||
@{
|
@{
|
||||||
Layout = "_Layout";
|
Layout = "_Layout";
|
||||||
}
|
}
|
@ -1,4 +1,4 @@
|
|||||||
using System.Diagnostics.CodeAnalysis;
|
using System.Diagnostics.CodeAnalysis;
|
||||||
using Humanizer;
|
using Humanizer;
|
||||||
using Markdig;
|
using Markdig;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using OliverBooth.Data;
|
using OliverBooth.Data;
|
||||||
|
|
||||||
namespace OliverBooth.Services;
|
namespace OliverBooth.Services;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.IO.Compression;
|
using System.IO.Compression;
|
||||||
using NLog;
|
using NLog;
|
||||||
using NLog.Config;
|
using NLog.Config;
|
||||||
using NLog.Layouts;
|
using NLog.Layouts;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using OliverBooth.Data;
|
using OliverBooth.Data;
|
||||||
using OliverBooth.Data.Web;
|
using OliverBooth.Data.Web;
|
||||||
using OliverBooth.Markdown;
|
using OliverBooth.Markdown;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
$background: #1E1E1E;
|
$background: #1E1E1E;
|
||||||
$foreground: #DCDCDA;
|
$foreground: #DCDCDA;
|
||||||
|
|
||||||
// C#
|
// C#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import BlogPost from "./BlogPost";
|
import BlogPost from "./BlogPost";
|
||||||
import Author from "./Author";
|
import Author from "./Author";
|
||||||
|
|
||||||
class API {
|
class API {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
class Author {
|
class Author {
|
||||||
private readonly _name: string;
|
private readonly _name: string;
|
||||||
private readonly _avatarHash: string;
|
private readonly _avatarHash: string;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
class BlogPost {
|
class BlogPost {
|
||||||
private readonly _id: number;
|
private readonly _id: number;
|
||||||
private readonly _commentsEnabled: boolean;
|
private readonly _commentsEnabled: boolean;
|
||||||
private readonly _title: string;
|
private readonly _title: string;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
class Input {
|
class Input {
|
||||||
public static readonly KONAMI_CODE = [
|
public static readonly KONAMI_CODE = [
|
||||||
"ArrowUp",
|
"ArrowUp",
|
||||||
"ArrowUp",
|
"ArrowUp",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
class TimeUtility {
|
class TimeUtility {
|
||||||
public static formatRelativeTimestamp(timestamp: Date) {
|
public static formatRelativeTimestamp(timestamp: Date) {
|
||||||
const now = new Date();
|
const now = new Date();
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"lib": ["ES2022", "DOM"],
|
"lib": ["ES2022", "DOM"],
|
||||||
"target": "ES2022",
|
"target": "ES2022",
|
||||||
|
Loading…
Reference in New Issue
Block a user