setup-eslint

Community

Auto-setup ESLint and config for your project

Authorzhangyu1818
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: setup-eslint
Download link: https://github.com/zhangyu1818/eslint-config/archive/main.zip#setup-eslint

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.