Skip to content
Agentmart
Submit a tool

eslint-config

Use when configuring ESLint with @antfu/eslint-config for a single project or a monorepo workspace, including flat config setup, shared config packages…

Skill by JsonLee12138

IndexedApache-2.0★ 2
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jsonlee12138-eslint-config

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when configuring ESLint with @antfu/eslint-config for a single project or a monorepo workspace, including flat config setup, shared config packages, commit quality hooks, or migrations from legacy ESLint configs.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/eslint-config

What's inside

Skill name
eslint-config
Description
Use when configuring ESLint with @antfu/eslint-config for a single project or a monorepo workspace, including flat config setup, shared config packages, commit quality hooks, or migrations from legacy ESLint configs.
License
Apache-2.0
Instructions
32 lines in SKILL.md · view on GitHub

Files (6)

  • SKILL.md
  • openai.yaml · agents/
  • commit-quality.md · references/
  • single-project.md · references/
  • vscode-settings.md · references/
  • workspace.md · references/

SKILL.md (first lines)

# ESLint Config

## Overview
Set up ESLint using `@antfu/eslint-config` for either a single project or a workspace package, and optionally enforce commit quality with `commitlint` + `husky` + `lint-staged`.

## Decision
- **Single project**: Choose when you have one app/package.
- **Workspace package**: Choose when multiple apps need a shared ESLint config in a monorepo.

## Quick Workflow
1. Choose single vs workspace.
2. Install dependencies.
3. Create `eslint.config.js` (flat config).
4. Add `lint` scripts.
5. Run `pnpm lint` to verify.
6. Add commit quality hooks (`.commitlintrc.cjs`, `.husky/*`, `.lintstagedrc`) if the team wants linting and commit message checks before push.

## Common Mistakes
- Mixing Prettier with ESLint formatting rules (prefer ESLint-only).
- Using legacy `.eslintrc` instead of `eslint.config.js`.
- Forgetting to build/publish the shared workspace config.
- Creating `.lintstagedrc` with unsupported syntax for your chosen format.
- Missing `commit-msg` hook, so commit message rules never run.
- Forgetting `package.json` `config.commitizen.path`, so `cz-git` is not picked up.

## Resources
- `references/single-project.md`
- `references/workspace.md`
- `references/vscode-settings.md`
- `references/commit-quality.md`

From JsonLee12138/prompts, Apache-2.0.

More from JsonLee12138/prompts

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Feb 20, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from JsonLee12138

Cite this page

eslint-config skill. Agent Mart. https://agentmart.dev/skills/jsonlee12138-eslint-config (last updated 2026-10-24)