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