From 38c6dacbff4187a53c7b7fef5ac9ac12d9786613 Mon Sep 17 00:00:00 2001 From: Rhys Arkins Date: Fri, 13 Sep 2024 17:13:16 +0200 Subject: [PATCH] fix(nuget): do not ignore test folders in config:recommended (#31146) --- lib/config/presets/internal/default.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/config/presets/internal/default.ts b/lib/config/presets/internal/default.ts index d06839b4b9d3dd..f9b0aa3126a5d4 100644 --- a/lib/config/presets/internal/default.ts +++ b/lib/config/presets/internal/default.ts @@ -293,7 +293,7 @@ export const presets: Record = { }, ignoreModulesAndTests: { description: - 'Ignore `node_modules`, `bower_components`, `vendor` and various test/tests directories.', + 'Ignore `node_modules`, `bower_components`, `vendor` and various test/tests (except for nuget) directories.', ignorePaths: [ '**/node_modules/**', '**/bower_components/**', @@ -304,6 +304,15 @@ export const presets: Record = { '**/tests/**', '**/__fixtures__/**', ], + nuget: { + ignorePaths: [ + '**/node_modules/**', + '**/bower_components/**', + '**/vendor/**', + '**/examples/**', + '**/__fixtures__/**', + ], + }, }, ignoreUnstable: { description: