Skip to content
Development
Command

/setup-linting

Setup code linting and quality tools

From plugin
claude-command-suite
1.4k199 skills89 agents199 commands
$ npx -y skills add qdhenry/Claude-Command-Suite --agent claude-code

Command definition

setup-linting.md

Setup Linting Command

Setup code linting and quality tools

Instructions

Follow this systematic approach to setup linting: **$ARGUMENTS**

1. **Project Analysis**

  • Identify programming languages and frameworks
  • Check existing linting configuration
  • Review current code style and patterns
  • Assess team preferences and requirements

2. **Tool Selection by Language**

**JavaScript/TypeScript:**

   npm install -D eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin
   npm install -D prettier eslint-config-prettier eslint-plugin-prettier

**Python:**

   pip install flake8 black isort mypy pylint

**Java:**

   # Add to pom.xml or build.gradle
   # Checkstyle, SpotBugs, PMD

3. **Configuration Setup**

**ESLint (.eslintrc.json):**

   {
     "extends": [
       "eslint:recommended",
       "@typescript-eslint/recommended",
       "prettier"
     ],
     "parser": "@typescript-eslint/parser",
     "plugins": ["@typescript-eslint"],
     "rules": {
       "no-console": "warn",
       "no-unused-vars": "error",
       "@typescript-eslint/no-explicit-any": "warn"
     }
   }

4. **IDE Integration**

  • Configure VS Code settings
  • Setup auto-fix on save
  • Install relevant extensions

5. **CI/CD Integration**

   - name: Lint code
     run: npm run lint

6. **Package.json Scripts**

   {
     "scripts": {
       "lint": "eslint src --ext .ts,.tsx",
       "lint:fix": "eslint src --ext .ts,.tsx --fix",
       "format": "prettier --write src"
     }
   }

Remember to customize rules based on team preferences and gradually enforce stricter standards.

Read more
@qdhenry
Ships withclaude-command-suite

A comprehensive development toolkit designed following Anthropic's Claude Code Best Practices for AI-assisted software development.

1.4k12 skills89 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.4k
Star history of qdhenry/Claude-Command-Suite on GitHub, a chart by star-history.com

Other commands on claude-command-suite.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command