eslint-config

Manage ESLint flat configurations, custom rules, and legacy migrations.

1|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/hjemmesidekongen/ai --skill eslint-config-hjemmesidekongen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eslint-config
Source: https://github.com/hjemmesidekongen/ai/tree/main/plugins/smedjen/skills/eslint-config
Command: npx skills add https://github.com/hjemmesidekongen/ai --skill eslint-config-hjemmesidekongen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the setup and maintenance of ESLint configurations, ensuring code quality and consistency across projects, especially when migrating to or managing modern flat configurations.

Core Features & Use Cases

  • Flat Config Management: Guides users through creating and managing eslint.config.js files.
  • Migration Assistance: Provides strategies for migrating from legacy .eslintrc formats.
  • Rule Customization & Integration: Helps in setting up custom rules, integrating with TypeScript, and ensuring Prettier compatibility.
  • Use Case: A development team needs to enforce consistent coding standards across a large TypeScript codebase. This Skill helps them set up a robust ESLint configuration that integrates seamlessly with their existing tools and development workflow.

Quick Start

Configure ESLint using the flat config format by creating an eslint.config.js file.

Frequently Asked Questions about eslint-config

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

FAQPage Schema
How do I migrate from legacy .eslintrc to ESLint flat config?

Setting up Prettier compatibility with ESLint flat config requires configuring custom rules within eslint.config.js. You must manage the plugin setup carefully to ensure Prettier formatting rules do not conflict with your custom ESLint code quality standards.

What is the best way to configure ESLint for a TypeScript codebase?

Configuring ESLint for TypeScript requires integrating TypeScript plugins into the flat configuration file. This setup enforces consistent coding standards by applying targeted rule overrides using file globbing specific to your TypeScript files.

Does ESLint flat config support file globbing for targeted rule overrides?

Yes, ESLint flat config supports file globbing for targeted rule application. By structuring the configuration object correctly in eslint.config.js, you can apply custom rules and overrides to specific file patterns across your project.

How do I optimize ESLint CI performance in a large project?

Optimizing ESLint CI performance involves strategic rule selection and targeted overrides using file globbing. By managing the flat configuration efficiently, you reduce unnecessary linting overhead and speed up the continuous integration pipeline.