eslint-config-enforcer
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "eslint-config-enforcer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-bb092a38b698a7f56169c8a0d724f07c1bddf0f2933daa198a1ceac3e8350eb2. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/eslint-config-enforcer before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Merge and enforce consistent ESLint configuration within monorepo packages using eslint-config-inspector and flat config. Detect rule conflicts between shared configs, auto-generate override files, and report compliance gaps via eslint --inspect-config.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "ESLint 配置强制执行器"
slug: "eslint-config-enforcer"
version: "1.0.0"
displayName: "ESLint 配置强制执行器"
summary: "使用 eslint-config-inspector 和 flat config 合并,在单体仓库包中强制执行一致的 ESLint 配置。检测共享配置之间的规则冲突,自动生成覆盖文件,并通过 eslint --inspect-config 报告合规性差距。"
license: "MIT"
description: "使用 eslint-config-inspector 和平面配置合并,在单体仓库包中强制执行一致的 ESLint 配置。检测共享配置之间的规则冲突,自动生成覆盖文件,并通过 eslint --inspect-config 报告合规性差距。"
github_stars: 27188
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Code Quality & Review"
framework: "Claude Code"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 27188
npm_package: "eslint"
npm_weekly_downloads: 120215107ESLint 配置强制执行器
Enforces consistent ESLint configurations across monorepo packages using eslint-config-inspector and flat config merging. Detects rule conflicts between shared configs, auto-generates override files, and reports compliance gaps via eslint --inspect-config.
Installation
Use the upstream install or setup path that matches your environment:
- npm init @eslint/config@latest
- npx eslint yourfile.js
Requirements and caveats from upstream:
- To use ESLint, you must have Node.js (^20.19.0, ^22.13.0, or >=24) installed and built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.)
- node-linker=hoisted
-
Which Node.js versions does ESLint support?
Basic usage or getting-started notes:
-
If you use ESLint's TypeScript type definitions, TypeScript 5.3 or later is required.
-
npm Installation
-
Extracted from upstream docs: https://raw.githubusercontent.com/eslint/eslint/HEAD/README.md
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
受众范围较窄 Reported severity: Minor
主要面向使用ESLint的单体仓库开发者,受众相对专业
Recommendation: 可考虑扩展更多前端开发场景的适用性
Highlights
- 解决单体仓库中ESLint配置一致性的实际问题
- 提供规则冲突检测和自动覆盖文件生成功能
- 通过eslint --inspect-config提供合规性报告
Areas to improve
-
缺少具体触发命令示例 Reported severity: Minor
未明确列出具体的eslint命令调用方式
Recommendation: 补充具体的命令行调用示例和参数说明
Highlights
- 触发词覆盖eslint-config-inspector、flat config、规则冲突等核心概念
- 明确描述了单体仓库包中的配置强制执行场景
- 准确描述了自动生成覆盖文件和合规性报告的功能
Areas to improve
-
缺少具体执行步骤 Reported severity: Minor
有基本结构但缺少详细的执行步骤说明
Recommendation: 补充具体的配置合并、冲突检测和覆盖文件生成步骤
-
缺少端到端示例 Reported severity: Minor
未提供完整的配置示例和使用场景演示
Recommendation: 添加从配置检测到报告生成的完整示例
Highlights
- frontmatter信息完整,包含版本、许可证等必要信息
- 有清晰的安装说明和Node.js版本要求
- 文档结构基本完整,包含主要功能描述
Areas to improve
-
缺少异常处理说明 Reported severity: Minor
未说明配置冲突无法自动解决时的处理方案
Recommendation: 补充配置冲突的手动解决指南和异常处理流程
-
缺少验证机制 Reported severity: Minor
未说明如何验证配置强制执行的效果
Recommendation: 添加配置合规性验证的具体方法和标准
Highlights
- 工具来源明确,基于eslint-config-inspector和flat config
- Node.js版本要求清晰,SSL支持说明完整
- 提供了上游文档链接,便于用户深入了解
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 29
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- nodejs.org
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.