From 6ff2669b81cecd8721c3a84bba7c84e7bd37e46b Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 30 Nov 2023 15:29:09 -0500 Subject: [PATCH] ENH: Ignore all dotfiles --- bids-validator/src/files/ignore.test.ts | 1 + bids-validator/src/files/ignore.ts | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bids-validator/src/files/ignore.test.ts b/bids-validator/src/files/ignore.test.ts index 58a5090c7..2c2248f3c 100644 --- a/bids-validator/src/files/ignore.test.ts +++ b/bids-validator/src/files/ignore.test.ts @@ -10,6 +10,7 @@ Deno.test('Deno implementation of FileIgnoreRules', async (t) => { '/CHANGES', '/participants.tsv', '/.git/HEAD', + '/.datalad/config', '/sub-01/anat/non-bidsy-file.xyz', '/explicit/full/path.nii', ] diff --git a/bids-validator/src/files/ignore.ts b/bids-validator/src/files/ignore.ts index dbed3bb09..98e27d5ef 100644 --- a/bids-validator/src/files/ignore.ts +++ b/bids-validator/src/files/ignore.ts @@ -14,8 +14,7 @@ export async function readBidsIgnore(file: BIDSFile) { const defaultIgnores = [ '.git**', - '.datalad/', - '.reproman/', + '.*', 'sourcedata/', 'code/', 'stimuli/',