mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
cleanup R# solution-wide warnings
This commit is contained in:
parent
3070f504ac
commit
47c9648206
9 changed files with 19 additions and 7 deletions
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
namespace FilterLists.Api.DependencyInjection.Extensions
|
||||
{
|
||||
public static class IWebHostExtension
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public static class IWebHostExtensions
|
||||
{
|
||||
public static IWebHost MigrateAndSeedDbContext<TContext>(this IWebHost webHost,
|
||||
Action<TContext, IServiceProvider> seeder) where TContext : DbContext
|
||||
|
|
@ -11,6 +11,7 @@ namespace FilterLists.Api.Migrations
|
|||
{
|
||||
[DbContext(typeof(FilterListsDbContext))]
|
||||
[Migration("20180324001253_addChatUrl")]
|
||||
// ReSharper disable once InconsistentNaming
|
||||
partial class addChatUrl
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
namespace FilterLists.Api.Migrations
|
||||
{
|
||||
[UsedImplicitly]
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public partial class addChatUrl : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ namespace FilterLists.Api.Migrations
|
|||
{
|
||||
[DbContext(typeof(FilterListsDbContext))]
|
||||
[Migration("20180815174531_fixTimestampNullsAndDefaults")]
|
||||
// ReSharper disable once InconsistentNaming
|
||||
partial class fixTimestampNullsAndDefaults
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
|
|
|
|||
|
|
@ -1,9 +1,12 @@
|
|||
using System;
|
||||
using JetBrains.Annotations;
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace FilterLists.Api.Migrations
|
||||
{
|
||||
[UsedImplicitly]
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public partial class fixTimestampNullsAndDefaults : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ protected override void Up(MigrationBuilder migrationBuilder)
|
|||
{
|
||||
CreatedDateUtc = table.Column<DateTime>("TIMESTAMP", nullable: false,
|
||||
defaultValueSql: "current_timestamp()"),
|
||||
DependentFilterListId = table.Column<ushort>(nullable: false),
|
||||
DependencyFilterListId = table.Column<ushort>(nullable: false)
|
||||
DependentFilterListId = table.Column<ushort>(),
|
||||
DependencyFilterListId = table.Column<ushort>()
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
.loader,
|
||||
.loader:before,
|
||||
.loader:after {
|
||||
-ms-animation: load1 1s infinite ease-in-out;
|
||||
-webkit-animation: load1 1s infinite ease-in-out;
|
||||
animation: load1 1s infinite ease-in-out;
|
||||
background: #000000;
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ module.exports = (env) => {
|
|||
entry: { 'main': "./ClientApp/Boot.tsx" },
|
||||
resolve: { extensions: [".js", ".jsx", ".ts", ".tsx"] },
|
||||
output: {
|
||||
// ReSharper disable once UseOfImplicitGlobalInFunctionScope
|
||||
path: path.join(__dirname, bundleOutputDir),
|
||||
filename: "[name].js",
|
||||
publicPath: "dist/"
|
||||
|
|
@ -31,6 +32,7 @@ module.exports = (env) => {
|
|||
plugins: [
|
||||
new CheckerPlugin(),
|
||||
new webpack.DllReferencePlugin({
|
||||
// ReSharper disable once UseOfImplicitGlobalInFunctionScope
|
||||
context: __dirname,
|
||||
manifest: require("./wwwroot/dist/vendor-manifest.json")
|
||||
})
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ module.exports = (env) => {
|
|||
]
|
||||
},
|
||||
output: {
|
||||
// ReSharper disable once UseOfImplicitGlobalInFunctionScope
|
||||
path: path.join(__dirname, "wwwroot", "dist"),
|
||||
publicPath: "dist/",
|
||||
filename: "[name].js",
|
||||
|
|
@ -39,6 +40,7 @@ module.exports = (env) => {
|
|||
jQuery: "jquery"
|
||||
}), // Maps these identifiers to the jQuery package (because Bootstrap expects it to be a global variable)
|
||||
new webpack.DllPlugin({
|
||||
// ReSharper disable once UseOfImplicitGlobalInFunctionScope
|
||||
path: path.join(__dirname, "wwwroot", "dist", "[name]-manifest.json"),
|
||||
name: "[name]_[hash]"
|
||||
}),
|
||||
|
|
@ -46,10 +48,10 @@ module.exports = (env) => {
|
|||
'process.env.NODE_ENV': isDevBuild ? '"development"' : '"production"'
|
||||
})
|
||||
].concat(isDevBuild
|
||||
? []
|
||||
: [
|
||||
new webpack.optimize.UglifyJsPlugin()
|
||||
])
|
||||
? []
|
||||
: [
|
||||
new webpack.optimize.UglifyJsPlugin()
|
||||
])
|
||||
}
|
||||
];
|
||||
};
|
||||
Loading…
Reference in a new issue