eslint-config

Validate eslint.config.js files against five required MetaSaver standards.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/metasaver/claude-marketplace --skill eslint-config-metasaver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eslint-config
Source: https://github.com/metasaver/claude-marketplace/tree/main/plugins/metasaver-core/skills/config/code-quality/eslint-config
Command: npx skills add https://github.com/metasaver/claude-marketplace --skill eslint-config-metasaver

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides ESLint flat config templates and validation for MetaSaver monorepos.

Core Features & Use Cases

  • Config type mapping: Maps projectType to config type (base/node/vite-web/react-library).
  • Simple re-export pattern: Uses direct exports from shared config.
  • Root eslint.config.js: Enforces flat config filename at workspace root.

Quick Start

Create eslint.config.js at the repo root and configure via the provided template.

Frequently Asked Questions about eslint-config

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up ESLint flat config for a monorepo?

ESLint flat config setup for monorepos requires creating an eslint.config.js file at the workspace root that re-exports from a shared config like @metasaver/core-eslint-config, mapped to your projectType (base, node, vite-web, or react-library). This centralized approach validates configurations against MetaSaver standards and enforces consistent linting rules across packages.

What's the difference between ESLint flat config and the old .eslintrc format?

Flat config uses a single eslint.config.js file with direct JavaScript exports instead of JSON, enabling dynamic configuration and better monorepo support. This Skill enforces the flat config pattern with strict validation, requiring a simple re-export from shared @metasaver/core-eslint-config rather than inline rule definitions.

Can I use this with existing ESLint configurations?

This Skill audits and validates existing eslint.config.js files against five required standards, including the simple re-export pattern and @metasaver/core-eslint-config dependency. If your config doesn't follow these rules, you'll need to refactor it to use the templated approach provided.

How do I validate my ESLint config is correct?

The Skill validates eslint.config.js files by checking the filename is exact, the re-export pattern is used, the shared @metasaver/core-eslint-config is imported, and npm linting scripts are defined per package or monorepo root. Validation ensures compliance with the five MetaSaver standards.

What npm scripts do I need for linting?

ESLint flat config requires npm scripts for linting defined at either the individual package level or monorepo root, depending on your setup. The Skill enforces this requirement as part of its validation to ensure consistent lint execution across the workspace.