Skip to content

Commit cf665f8

Browse files
Merge pull request #43 from contentstack/CL-1746
chore: add talisman and snyk test to pre-commit hook
2 parents 02e28d5 + b832d7c commit cf665f8

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.husky/pre-commit

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
npm run prepack && npm run lint-staged
2+
3+
echo "\n\n Running Talisman secret scan..."
4+
talisman --githook pre-commit
5+
6+
echo "\n\n Running Snyk vulnerability scan..."
7+
snyk test --all-projects

.snyk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.25.1
3+
ignore:
4+
'snyk:lic:npm:npm:Artistic-2.0':
5+
- '*':
6+
reason: oclif package is the core dependency for the CLI
7+
created: 2025-04-16T11:52:49.708Z
8+
patch: {}

0 commit comments

Comments
 (0)