
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@outfitter/husky-config
Advanced tools
> Shared Git hooks configuration for consistent development workflows across > Outfitter projects
Shared Git hooks configuration for consistent development workflows across Outfitter projects
npm install --save-dev @outfitter/husky-config
# or
pnpm add -D @outfitter/husky-config
Run the setup script after installation:
npx @outfitter/husky-config setup
npx husky init
cp -r node_modules/@outfitter/husky-config/hooks/* .husky/
Runs lint-staged
to format and lint staged files before committing:
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx lint-staged
Validates commit messages using commitlint
to ensure they follow conventional
commit format:
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx --no -- commitlint --edit "$1"
Create a lint-staged.config.mjs
file in your project root:
export default {
'*.{js,jsx,ts,tsx}': ['eslint --fix', 'prettier --write'],
'*.{json,md,yml,yaml}': 'prettier --write',
};
Create a commitlint.config.mjs
file in your project root:
export default {
extends: ['@commitlint/config-conventional'],
};
git add .
git commit -m "feat: add new feature"
feat
: New featurefix
: Bug fixdocs
: Documentation only changesstyle
: Code style changes (formatting, semicolons, etc)refactor
: Code refactoringperf
: Performance improvementstest
: Adding or updating testschore
: Maintenance tasksci
: CI/CD changesbuild
: Build system changesEnsure hooks have execute permissions:
chmod +x .husky/*
git commit --no-verify -m "emergency: bypass hooks"
Note: This should only be used in emergencies. Always ensure your code meets quality standards.
This package is part of the @outfitter/monorepo monorepo.
See the Development Guide for instructions on building, testing, and contributing to this package.
MIT
FAQs
> Shared Git hooks configuration for consistent development workflows across > Outfitter projects
We found that @outfitter/husky-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.