Sign in
Explore
Prompts · PromptTesting & SecurityReviewed

setup/setup-linting

Configures linting and code quality tools and enforces them automatically.

Kind
Prompt
Works with
Claude Code
Source
Claude Code Templates @ 72e5f237f64d
Path
cli-tool/components/commands/setup/setup-linting.md
License
MIT
Jobs
Guardrails
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# Setup Code Linting

Configure comprehensive code linting and quality analysis: **$ARGUMENTS**

## Current Code Quality State

- Languages detected: !`find . -name "*.js" -o -name "*.ts" -o -name "*.py" -o -name "*.rs" | head -5`
- Existing linters: @.eslintrc.* or @pyproject.toml or @tslint.json
- Package manager: @package.json or @requirements.txt or @Cargo.toml
- Code quality tools: !`which eslint flake8 pylint mypy clippy 2>/dev/null | wc -l`

## Task

Setup comprehensive code linting system with quality analysis and automated enforcement:

**Language Focus**: Use $ARGUMENTS to configure JavaScript/TypeScript ESLint, Python linting, or multi-language quality analysis

**Linting Configuration**:
1. **Tool Installation** - ESLint, Flake8, Pylint, MyPy, Clippy, language-specific linters and plugins
2. **Rule Configuration** - Code style rules, error detection, best practices, security patterns, performance guidelines
3. **IDE Integration** - Real-time linting, error highlighting, quick fixes, workspace settings
4. **Quality Gates** - Pre-commit validation, CI/CD integration, pull request checks, quality metrics
…