Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Auto-format and lint files after edits with support for Python, TypeScript/JavaScript, and Angular projects.
frontend/ directory)app/ directory)All features are individually toggleable via configuration.
Automatically detects when linter ignore comments are added (such as type: ignore, noqa, eslint-disable, @ts-ignore, etc.) and provides educational feedback encouraging developers to:
Supports multiple languages and tools:
type: ignore, noqa, pylint: disable, fmt: off@ts-ignore, @ts-expect-error, eslint-disable, prettier-ignore#[allow(, rustfmt::skipnolintrubocop:disable@SuppressWarningsast-grep-ignoreThe guard differentiates between justified and unjustified suppressions based on the presence of explanatory text containing keywords like "because", "workaround", "third-party", etc.
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
ruff, basedpyright (installed in venv or via uv)prettier, eslint (installed via npm)/plugin install format-and-lint@werdnum-plugins
Works out of the box for Python projects. Configure for TypeScript/Angular as needed.
Layered configuration system: Project → Global → Defaults
Create .claude/format-lint.json:
{
"linting": {
"python": {
"enabled": true,
"venvPath": "${VIRTUAL_ENV:-.venv}",
"tools": {
"ruff-format": { "enabled": true, "timeout": 5000 },
"ruff-check": { "enabled": true, "showDiff": true },
"basedpyright": { "enabled": true, "maxErrorsShown": 5 },
"ast-grep-hints": { "enabled": true, "filterMode": "new-code-only" }
}
}
}
}
For React/Next.js projects with frontend/ directory:
{
"linting": {
"typescript": {
"enabled": true,
"projectDir": "frontend",
"tools": {
"prettier": { "enabled": true, "npmScript": "format" },
"eslint": { "enabled": true, "npmScript": "lint:fix" }
}
}
}
}
For Angular projects with app/ directory:
{
"linting": {
"angular": {
"enabled": true,
"projectDir": "app",
"tools": {
"prettier": { "enabled": true },
"eslint": { "enabled": true }
}
}
}
}
{
"formatting": {
"enabled": true,
"formatters": {
"ensure_newline": {
"enabled": true,
"patterns": ["*.py", "*.js", "*.ts", "*.md"],
"command": "sed -i -e '${ /./s/$/\\n/ }' {}"
}
},
"exclude": ["*.min.js", "dist/*", "node_modules/*"]
}
}
all: Show all hintsnew-code-only: (default) Only show hints in newly added code (Edit tool)new-files-only: Only show hints in new files (Write tool)All timeouts in milliseconds:
Disable entire categories or specific tools:
{
"formatting": { "enabled": false },
"linting": {
"python": {
"tools": {
"basedpyright": { "enabled": false }
}
}
}
}
Registers a PostToolUse hook that runs after Edit, Write, or NotebookEdit operations:
Python tools use venvPath configuration. Default: ${VIRTUAL_ENV:-.venv}
The ${VIRTUAL_ENV:-.venv} syntax means: use VIRTUAL_ENV environment variable if set, otherwise use .venv.
Linters not running: Check that tools are installed in your virtual environment or node_modules
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub werdnum/claude-code-plugins --plugin format-and-lintPlugins from other owners that cover similar ground