Skip to content

Commit

Permalink
fix(nuget): do not ignore test folders in config:recommended (#31146)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins authored and pull[bot] committed Sep 18, 2024
1 parent 7f1c56e commit 5db6b27
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/config/presets/internal/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export const presets: Record<string, Preset> = {
},
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/**',
Expand All @@ -304,6 +304,15 @@ export const presets: Record<string, Preset> = {
'**/tests/**',
'**/__fixtures__/**',
],
nuget: {
ignorePaths: [
'**/node_modules/**',
'**/bower_components/**',
'**/vendor/**',
'**/examples/**',
'**/__fixtures__/**',
],
},
},
ignoreUnstable: {
description:
Expand Down

0 comments on commit 5db6b27

Please sign in to comment.