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 Sep 13, 2024
1 parent cfb3f7f commit 38c6dac
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 38c6dac

Please # to comment.