eslint-config-generator

生成专业的 ESLint 配置,支持 React, Vue, TypeScript, Airbnb, Standard 等主流规范,一键配置代码规范。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "eslint-config-generator" with this command: npx skills add sunshine-del-ux/eslint-config-generator

ESLint Config Generator

生成专业的 ESLint 配置文件,统一团队代码风格。

功能

  • ⚡ 一键生成配置
  • 🎯 多种规范预设
  • 🔄 自动安装依赖
  • 📝 支持多种框架

支持的规范

规范说明适用
airbnbAirbnb JavaScript 风格主流项目
standardStandard JS 风格简单项目
prettierPrettier 兼容配置格式化优先
reactReact + AirbnbReact 项目
vueVue 3 + ESLintVue 项目
typescriptTypeScript 最佳实践TS 项目

使用方法

基本用法

# 使用 Airbnb 规范
eslint-config-generator --preset airbnb

# React + TypeScript
eslint-config-generator --preset react-typescript

# Vue 3
eslint-config-generator --preset vue

选项

选项说明
--preset, -p规范预设
--output, -o输出文件
--install自动安装依赖

输出文件

{
  "extends": ["airbnb"],
  "rules": {
    "no-unused-vars": "warn",
    "react/react-in-jsx-scope": "off"
  },
  "env": {
    "browser": true,
    "es2021": true,
    "node": true
  }
}

安装依赖

npm install -D eslint eslint-config-airbnb eslint-plugin-react

变现思路

  1. 预设配置销售 - 专业配置模板
  2. 企业服务 - 定制代码规范
  3. 培训 - 代码规范培训

安装

# 无需额外依赖

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Env Config Manager

Manage environment configs with loading, switching, encryption, key rotation, validation, and team-safe secret sharing for .env, YAML, and JSON files.

Registry SourceRecently Updated
860Profile unavailable
Coding

Config Sync — 16 AI Tools, 1 Source

Sync AI coding assistant config files from a single source. Generates CLAUDE.md, AGENTS.md, GEMINI.md, .cursor/rules/, .github/copilot-instructions.md, .wind...

Registry SourceRecently Updated
1080Profile unavailable
Coding

Skrape

Ethical web data extraction with robots exclusion protocol adherence, throttled scraping requests, and privacy-compliant handling ("Scrape responsibly!").

Registry SourceRecently Updated
2850Profile unavailable
Coding

Task 2 Refactor - Evomap Asset

Code refactoring tool converting hard-coded structures to configuration-driven designs with dynamic fields and type-safe access.

Registry SourceRecently Updated
3410Profile unavailable