Skip to content

Move to Git hook#185

Merged
withinfocus merged 2 commits into
mainfrom
git-hooks
May 15, 2026
Merged

Move to Git hook#185
withinfocus merged 2 commits into
mainfrom
git-hooks

Conversation

@withinfocus

Copy link
Copy Markdown
Member

Summary

  • Replace husky + lint-staged with Git 2.54 config-based hooks
  • Remove all npm dependencies (package.json, package-lock.json)
  • Remove npm ecosystem from dependabot config

Setup

After cloning: git config --local include.path ../.githooks.gitconfig

@github-actions

Copy link
Copy Markdown

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ BASH bash-exec 1 0 0 0.01s
✅ BASH shellcheck 1 0 0 0.04s
✅ BASH shfmt 1 0 0 0.01s
✅ COPYPASTE jscpd yes no no 1.5s
✅ EDITORCONFIG editorconfig-checker 4 0 0 0.01s
✅ REPOSITORY checkov yes no no 19.27s
✅ REPOSITORY gitleaks yes no no 0.37s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 45.37s
✅ REPOSITORY secretlint yes no no 1.01s
✅ REPOSITORY syft yes no no 2.68s
✅ REPOSITORY trivy yes no no 10.45s
✅ REPOSITORY trivy-sbom yes no no 0.17s
✅ REPOSITORY trufflehog yes no no 5.17s
✅ SPELL cspell 5 0 0 3.21s
✅ SPELL lychee 1 0 0 0.09s
✅ YAML prettier 1 0 0 0.55s
✅ YAML v8r 1 0 0 2.68s
✅ YAML yamllint 1 0 0 0.54s

See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@withinfocus withinfocus merged commit 4d019b4 into main May 15, 2026
1 check passed
@withinfocus withinfocus deleted the git-hooks branch May 15, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant