Skip to content

Commit 8ad8de3

Browse files
committed
auto ignore cache folders that caused false positives
1 parent 080e592 commit 8ad8de3

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

src/utils/fileTraversal.ts

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,23 @@ import path from 'path';
33
import ignore, { Ignore } from 'ignore';
44

55
const DEFAULT_IGNORE_PATTERNS = [
6-
'node_modules',
7-
'dist',
8-
'build',
9-
'.git',
10-
'.svn',
11-
'.hg',
6+
'node_modules/',
7+
'dist/',
8+
'build/',
9+
'.git/',
10+
'.svn/',
11+
'.hg/',
12+
'.next/',
13+
'.vscode/',
14+
'.cache/',
15+
'coverage/',
16+
'.vite/',
17+
'.svelte-kit/',
18+
'__pycache__/',
1219
'*.log',
1320
'*.lock',
1421
'*.swp',
22+
'*.pyc',
1523
'.DS_Store',
1624
'Thumbs.db',
1725
// Add other common ignores if needed

0 commit comments

Comments
 (0)