dingjun1028/esggo/eslint-optimizer
Claude Code and agent skill by dingjun1028/esggo
- community
Checking that the SKILL.md file is still in the repository.
Configure ESLint for Next.js/React/TypeScript projects with optimal rule settings. Balances strictness with CI pass rate. Use when setting up ESLint, tuning rules, or reducing lint noise while keeping code quality.
Install
npx vskill@latest install dingjun1028/esggo/eslint-optimizerSKILL.md
The same SKILL.md was published earlier as dingjun1028/esggo/eslint-optimizer.
ESLint Optimizer Skill
Configure ESLint for maximum CI pass rate with minimum code quality loss.
Flat Config Template (eslint.config.js)
Key Decisions
Why **/*.cjs instead of *.cjs?
ESLint flat config *.cjs only matches root-level files. Use **/*.cjs to match files in subdirectories (e.g., scripts/gen-gallery-index.cjs).
Why disable set-state-in-effect?
The React Compiler rule flags the standard pattern of calling fetchData() inside useEffect, which internally calls setState. This is the recommended React pattern for data fetching. The rule creates false positives.
Why warn instead of error for no-explicit-any?
In large codebases, converting all any to proper types in one PR is impractical. Set to warn to track technical debt without blocking CI.
Tuning Workflow
- Start strict — use recommended configs
- Run `pnpm lint` — count errors vs warnings
- Downgrade to warn — for rules that flag valid patterns
- Disable — only for rules that are fundamentally wrong for your codebase
- Never suppress per-file — prefer project-wide rule config
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/skills/eslint-optimizer/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dingjun1028/esggo/eslint-optimizer)