Komut#buildwithclaude
0
Setup linting
Kod astarlama ve kalite araçlarının kurulumu
yazan kuscubasiece·8 Eylül 2026
Kaynak: davepoon/claude-code-subagents-collection · MIT
Kod astarlama ve kalite araçlarının kurulumu
Kaynak: davepoon/claude-code-subagents-collection · MIT
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/setup-linting/raw -o .claude/commands/setup-linting.mdHedef dosya: .claude/commands/setup-linting.md
Setup code linting and quality tools
Follow this systematic approach to setup linting: $ARGUMENTS
Project Analysis
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
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"
}
}
IDE Integration
CI/CD Integration
- name: Lint code
run: npm run lint
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.