agentleFS
Jam0731Jam0731/ParallaxAI/skills/eslint-config-generator/SKILL.md

eslint-config-generator

Skill2 starsChanged 5 months agoMITView on GitHub

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

  • Installs packages

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. ehtbanton/ClaudeSkillsRepo★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository6 other files it gives its agents.

The file

Files
SKILL.md

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. 培训 - 代码规范培训

安装

# 无需额外依赖

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.