What problem does it solve?
This Skill automates the setup and configuration of ESLint for JavaScript/TypeScript projects, ensuring a consistent linting baseline and ready-to-use config.
Core Features & Use Cases
- Auto-detect project stack (React, Next.js, TypeScript, TailwindCSS, Prettier, test frameworks) and enable corresponding ESLint presets.
- Install missing dependencies (eslint and @zhangyu1818/eslint-config) via the detected package manager and generate or update eslint.config.* accordingly.
- Add or update lint scripts in package.json when missing, and provide guidance for running lint locally or in CI.
- Support migration scenarios from legacy .eslintrc files to the flat config format and ensure compatibility with existing codebases.
Quick Start
Use the skill on a project root to configure ESLint automatically, deriving presets from detected dependencies and creating or updating eslint.config.* files. If dependencies are missing, the skill installs eslint and @zhangyu1818/eslint-config as devDependencies using the detected package manager and updates lint scripts if needed.