Skip to content

Commit

Permalink
ci(security): add secretlint to commits
Browse files Browse the repository at this point in the history
  • Loading branch information
felipemaion authored Oct 22, 2024
1 parent 2e3f06a commit 1e17962
Show file tree
Hide file tree
Showing 4 changed files with 733 additions and 32 deletions.
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npx secretlint "**/*" --maskSecrets

7 changes: 7 additions & 0 deletions .secretlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"rules": [
{
"id": "@secretlint/secretlint-rule-preset-recommend"
}
]
}
Loading

0 comments on commit 1e17962

Please sign in to comment.