From d617f39e533cc5ced7defd2ae6b26fc646db0ad0 Mon Sep 17 00:00:00 2001 From: Glen Date: Tue, 10 Mar 2026 10:21:02 +0200 Subject: [PATCH] Mark migration files as generated code --- .editorconfig | 5 ----- src/Mocha/src/Demo/Demo.Billing/Migrations/.editorconfig | 4 ++++ src/Mocha/src/Demo/Demo.Catalog/Migrations/.editorconfig | 4 ++++ src/Mocha/src/Demo/Demo.Shipping/Migrations/.editorconfig | 4 ++++ 4 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 src/Mocha/src/Demo/Demo.Billing/Migrations/.editorconfig create mode 100644 src/Mocha/src/Demo/Demo.Catalog/Migrations/.editorconfig create mode 100644 src/Mocha/src/Demo/Demo.Shipping/Migrations/.editorconfig diff --git a/.editorconfig b/.editorconfig index ea0f69996ff..8b78fab4360 100644 --- a/.editorconfig +++ b/.editorconfig @@ -311,11 +311,6 @@ dotnet_diagnostic.RCS9003.severity = warning # Use GeneratedRegexAttribute. dotnet_diagnostic.SYSLIB1045.severity = warning -[**/Migrations/**.cs] -dotnet_analyzer_diagnostic.severity = none -dotnet_diagnostic.IDE0005.severity = none -dotnet_diagnostic.IDE0300.severity = none - # netstandard2.0 [src/HotChocolate/{Core/src/Types.Analyzers,Language}/**/*.cs] dotnet_diagnostic.CA1510.severity = none diff --git a/src/Mocha/src/Demo/Demo.Billing/Migrations/.editorconfig b/src/Mocha/src/Demo/Demo.Billing/Migrations/.editorconfig new file mode 100644 index 00000000000..843eb018991 --- /dev/null +++ b/src/Mocha/src/Demo/Demo.Billing/Migrations/.editorconfig @@ -0,0 +1,4 @@ +root = true + +[*.cs] +generated_code = true diff --git a/src/Mocha/src/Demo/Demo.Catalog/Migrations/.editorconfig b/src/Mocha/src/Demo/Demo.Catalog/Migrations/.editorconfig new file mode 100644 index 00000000000..843eb018991 --- /dev/null +++ b/src/Mocha/src/Demo/Demo.Catalog/Migrations/.editorconfig @@ -0,0 +1,4 @@ +root = true + +[*.cs] +generated_code = true diff --git a/src/Mocha/src/Demo/Demo.Shipping/Migrations/.editorconfig b/src/Mocha/src/Demo/Demo.Shipping/Migrations/.editorconfig new file mode 100644 index 00000000000..843eb018991 --- /dev/null +++ b/src/Mocha/src/Demo/Demo.Shipping/Migrations/.editorconfig @@ -0,0 +1,4 @@ +root = true + +[*.cs] +generated_code = true