Skip to content

Move to Git hook#265

Merged
withinfocus merged 1 commit into
developfrom
git-hooks
May 15, 2026
Merged

Move to Git hook#265
withinfocus merged 1 commit into
developfrom
git-hooks

Conversation

@withinfocus
Copy link
Copy Markdown
Owner

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

github-actions Bot commented May 15, 2026

MegaLinter analysis: Error

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ BASH bash-exec 1 0 0 0.0s
✅ BASH shellcheck 1 0 0 0.02s
✅ BASH shfmt 1 0 0 0.0s
✅ COPYPASTE jscpd yes no no 1.4s
✅ EDITORCONFIG editorconfig-checker 4 0 0 0.01s
✅ REPOSITORY checkov yes no no 18.95s
✅ REPOSITORY gitleaks yes no no 1.34s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 53.6s
✅ REPOSITORY secretlint yes no no 1.01s
✅ REPOSITORY syft yes no no 2.39s
✅ REPOSITORY trivy yes no no 11.4s
✅ REPOSITORY trivy-sbom yes no no 0.23s
✅ REPOSITORY trufflehog yes no no 4.6s
✅ SPELL cspell 5 0 0 2.74s
✅ SPELL lychee 1 0 0 0.05s
⚠️ YAML prettier 1 1 2 0.38s
✅ YAML v8r 1 0 0 2.26s
❌ YAML yamllint 1 2 0 0.57s

Detailed Issues

❌ YAML / yamllint - 2 errors
.github/dependabot.yml
  1:1       warning  missing document start "---"  (document-start)
  18:1      error    too many blank lines (1 > 0)  (empty-lines)
⚠️ YAML / prettier - 1 error
Checking formatting...
[warn] .github/dependabot.yml
[warn] Code style issues found in the above file. Run Prettier with --write to fix.

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 e0d457d into develop May 15, 2026
1 of 2 checks passed
@withinfocus withinfocus deleted the git-hooks branch May 15, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant