- Package files: !`find . -maxdepth 1 \( -name "package.json" -o -name "pyproject.toml" -o -name "setup.py" -o -name "Cargo.toml" -o -name "go.mod" \) -type f`
Runs comprehensive linting across Python, JavaScript/TypeScript, Rust, and Go projects with auto-fix support.
/plugin marketplace add laurigates/claude-plugins/plugin install code-quality-plugin@lgates-claude-pluginslint/find . -maxdepth 1 \( -name "package.json" -o -name "pyproject.toml" -o -name "setup.py" -o -name "Cargo.toml" -o -name "go.mod" \) -type ffind . -maxdepth 1 -name ".pre-commit-config.yaml" -type f$1: Path to lint (defaults to current directory)$2: --fix flag to automatically fix issues$3: --format flag to also run formatters{{ if PROJECT_TYPE == "python" }} Run Python linters:
uv run ruff check ${1:-.} ${2:+--fix}uv run mypy ${1:-.}uv run ruff format ${1:-.} ${3:+--check}uv run bandit -r ${1:-.}
{{ endif }}{{ if PROJECT_TYPE == "node" }} Run JavaScript/TypeScript linters:
npm run lint ${1:-.} ${2:+-- --fix}npx prettier ${3:+--write} ${3:---check} ${1:-.}npx tsc --noEmit
{{ endif }}{{ if PROJECT_TYPE == "rust" }} Run Rust linters:
cargo clippy -- -D warningscargo fmt ${3:+} ${3:--- --check}cargo check
{{ endif }}{{ if PROJECT_TYPE == "go" }} Run Go linters:
gofmt ${3:+-w} ${3:+-l} ${1:-.}go vet ./...staticcheck ./... (if available)
{{ endif }}If pre-commit is configured:
pre-commit run --all-files ${2:+--show-diff-on-failure}
For projects with multiple languages:
If no specific linters found:
make lintnpm run lint/deps:install --devAfter linting:
/refactor command/git:smartcommit