Skip to content

Commit cce853c

Browse files
Add GitGuardian configuration to ignore test files
1 parent d012326 commit cce853c

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

‎.gitguardian.yaml‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
version: 1
2+
allow-breaks: true
3+
4+
# Paths to ignore for scanning
5+
paths-ignore:
6+
- 'node_modules/**'
7+
- '.vscode/**'
8+
- '.idea/**'
9+
- 'dist/**'
10+
- 'build/**'
11+
- 'coverage/**'
12+
- '*.min.js'
13+
- '*.min.css'
14+
- '**/*.test.ts'
15+
- '**/*.test.tsx'
16+
- '**/*.spec.ts'
17+
- '**/*.spec.tsx'
18+
- 'temp/**'
19+
- '**/*.md'
20+
21+
# Specific files to ignore
22+
files-ignore:
23+
- 'package-lock.json'
24+
- 'yarn.lock'
25+
- 'pnpm-lock.yaml'
26+
27+
# Ignore common test/dev files
28+
secrets-filter:
29+
level: weak

0 commit comments

Comments
 (0)