接入你的智能体
发布者自己的命令。不是 PlugMCP 端点。
用我们的密钥与日志托管一份副本。
npx -y [email protected]Claude Code 没有针对本地命令的安装链接。复制下方命令并在终端中运行。
claude mcp add eslint-plugin-claude -- npx -y eslint-plugin-claude@1.0.0在终端中运行。
{ "mcpServers": { "eslint-plugin-claude": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
远程 URL 还是本机命令? 两种安装方式的区别
An ESLint plugin that lints Claude Code configuration: CLAUDE.md, skills, subagents, hooks, settings, permissions, MCP servers, and plugin manifests.
It checks each of these against the Claude Code docs. It runs on
@eslint/markdown and
@eslint/json.
These limits apply to each rule:
~/.claude/. A rule option
can name what the repository cannot see.claude plugin validate.
A CLI check is quantitative, as the rules of this plugin are. A session tool, such as
/doctor, can make qualitative checks, so it does not count. A rule can report the cases that
the tool does not check. When the tool starts to make the check, the rule is deprecated, and
the next major release removes it.ADR 001 (Decisions 2 and 14) records these decisions.
A daily job watches the docs. It compares each docs page that a rule cites with a stored snapshot. For a changed block, it opens or updates an issue. For a moved or renamed section, it opens an issue to update the links of each rule doc. A person decides each issue with the docs watch runbook. ADR 002 records this decision.
pnpm add -D eslint @eslint/markdown @eslint/json eslint-plugin-claude
Requires ESLint 10, @eslint/markdown 8, @eslint/json 2 and Node ^22.13.0 || >=24. The two
language plugins are peers, so your project and this plugin use the same copy.
// eslint.config.js
import { defineConfig } from 'eslint/config'
import claude from 'eslint-plugin-claude'
export default defineConfig([{ plugins: { claude }, extends: ['claude/recommended'] }])
Each rule brings its own files glob and language, and a rule can add a second language and
glob. The config registers markdown and json, so you need no other setup. Rule IDs take the form claude/<rule>.
You can change the severity or the options of a rule. Put the rule in rules, in the block
that extends the config:
export default defineConfig([
{
plugins: { claude },
extends: ['claude/recommended'],
rules: {
'claude/agent-body-nonempty': 'warn',
'claude/skill-description-max-length': ['warn', { listingMax: 1000 }],
},
},
])
The doc of each rule shows its entry.
Each config is an array of blocks. The block of a rule has the name claude/<config>/<rule>, such
as claude/recommended/command-legacy-format. The two blocks that give the files of each language
have the names claude/<config>/markdown-files and claude/<config>/json-files. These names are
stable from version 1.0.0. A rule that is off in a config has no block of its own there. The
block of its language gives its files. A glob that matches each file of a language, such as
**/*.md, is not in that block. To change the files of a rule, find its block by the name, and
replace files:
// eslint.config.js
import { defineConfig } from 'eslint/config'
import claude from 'eslint-plugin-claude'
export default defineConfig(
claude.configs.recommended.map((block) =>
block.name === 'claude/recommended/command-legacy-format'
? { ...block, files: ['packages/app/.claude/commands/**/*.md'] }
: block,
),
)
A rule that reads two languages has two blocks with the same name. Compare block.language too
('markdown/gfm' or 'json/json') to change only one of them. A rule also checks the place of a
file in code, so a wider glob can give no new report. The plugin has no setting and no rule option
for files.
Each config turns on rules whose glob is **/*.md, such as the agent rules. So each config sets
markdown/gfm with YAML frontmatter on each .md file. That replaces a language that an earlier
block sets for those files. The agent rules have this glob because a plugin manifest can name an
agent file at any path in the plugin. Each rule finds its files in code. To narrow the files of
a rule, follow Change the files of a rule.
The rules are in groups by the type of file that they check. The groups follow the rule inventory.
The list marks each rule that has options. The doc of each rule gives each option, and its default if it has one.
💼 Configurations enabled in.
⚠️ Configurations set to warn in.
✅ Set in the recommended configuration.
🔒 Set in the strict configuration.
⚙️ Has configuration options.
An ESLint plugin that lints Claude Code configuration: CLAUDE.md, skills, subagents, hooks, settings, permissions, MCP servers, and plugin manifests.
{ "mcpServers": { "eslint-plugin-claude": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}工具
暂无工具列表。远程服务器在首次健康检查后会获得工具列表。
常见问题
在本页复制适用于 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 配置。它使用发布者的安装方式,而不是 PlugMCP 代理。
此记录未列出必需的环境变量。
Eslint Plugin Claude 通过 stdio 在本地运行。
上次检查时间:2026-11-15。 An ESLint plugin that lints Claude Code configuration: CLAUDE.md, skills, subagents, hooks, settings, permissions, MCP servers, and plugin manifests.