eslint-flat-config

Generate ESLint 9.x flat configuration files for TypeScript projects.

2|1|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/MolcajeteAI/plugin --skill eslint-flat-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eslint-flat-config
Source: https://github.com/MolcajeteAI/plugin/tree/main/deprecated/tech-stacks/js/common/skills/eslint-flat-config
Command: npx skills add https://github.com/MolcajeteAI/plugin --skill eslint-flat-config

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the setup and configuration of ESLint 9.x with its new flat configuration system, specifically for TypeScript projects, ensuring code quality and consistency.

Core Features & Use Cases

  • ESLint 9.x Flat Config Setup: Provides a robust template for eslint.config.ts.
  • TypeScript Integration: Includes strict type-checking rules and necessary configurations for TypeScript projects.
  • Prettier Integration: Demonstrates how to integrate ESLint with Prettier for unified code formatting.
  • Use Case: When starting a new TypeScript project or migrating an existing one to ESLint 9.x, use this skill to quickly establish a comprehensive and opinionated linting configuration.

Quick Start

Use the eslint-flat-config skill to generate a basic ESLint 9.x configuration file for a TypeScript project.

Frequently Asked Questions about eslint-flat-config

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

FAQPage Schema
How do I set up ESLint 9.x flat config for a TypeScript project?

To set up ESLint 9.x flat config, generate an eslint.config.ts file using a template that incorporates recommended JavaScript and TypeScript rules alongside strict type checking.

Can I integrate Prettier with ESLint 9.x flat config?

Yes, you can integrate Prettier with ESLint 9.x flat config to unify code formatting, ensuring linting rules and formatting work together without conflicts.

What is the best way to migrate an existing TypeScript project to ESLint 9.x?

The best way to migrate to ESLint 9.x is generating a comprehensive flat configuration file that replaces legacy configs and applies strict type-checking rules.

Does ESLint flat config support strict type checking rules?

Yes, ESLint flat config supports strict type checking rules by including necessary TypeScript configurations within the generated eslint.config.ts file.

Why does my ESLint 9.x configuration not work with TypeScript?

Your ESLint 9.x configuration may fail due to missing TypeScript integration or incorrect flat config setup, which generating a proper eslint.config.ts file resolves.

How do I customize ESLint rules in a flat config?

You can customize ESLint rules in a flat config by modifying the generated eslint.config.ts file, which provides guidance on adjusting rule configurations for your specific needs.