eslint-plugin-configs

Generate ESLint plugin scaffolds with rule configs for v8 and v9.

65|2|Updated Jul 17, 2025
One-click install
npx skills add https://github.com/anchildress1/awesome-github-copilot --skill eslint-plugin-configs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eslint-plugin-configs
Source: https://github.com/anchildress1/awesome-github-copilot/tree/main/skills/eslint-plugin-configuring
Command: npx skills add https://github.com/anchildress1/awesome-github-copilot --skill eslint-plugin-configs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps ESLint plugin authors automate the creation or updating of plugins that export rule configurations compatible with ESLint v8 (legacy eslintrc) and ESLint v9 (flat config), reducing cross-version maintenance effort.

Core Features & Use Cases

  • Generate a complete plugin scaffold exporting:
    • rules
    • configs (flat and/or legacy)
    • optional processors
    • mandatory meta (name, version, namespace)
  • Ensure ESLint v8 compatibility with traditional eslintrc usage and ESLint v9 compatibility with flat config workflows
  • Provide consumer usage examples for both v8 and v9 ecosystems, plus migration guidance for transitions

Quick Start

Use the skill to scaffold an ESLint plugin named your-plugin that exports rules and configs for both v8 and v9, and demonstrate consuming it in a project ESLint config.

Frequently Asked Questions about eslint-plugin-configs

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

FAQPage Schema
How do I create an ESLint plugin that works with both flat config and eslintrc?

To create an ESLint plugin supporting both flat config and eslintrc, you need to export rule configurations compatible with ESLint v8 and v9. This involves defining a unified plugin shape with meta, rules, and configs to ensure cross-version compatibility.

What is the required meta structure for an ESLint plugin supporting v9 flat config?

The required meta structure for an ESLint v9 flat config plugin mandates defining meta.name, meta.version, and meta.namespace. All config keys must use the namespace prefix to ensure the plugin integrates correctly with the flat config environment.

How do I scaffold an ESLint plugin with consumer usage examples for v8 and v9?

Scaffolding an ESLint plugin with consumer examples involves generating rules, flat and legacy configs, and optional processors. The generated plugin provides clear usage examples demonstrating how to consume it across both ESLint v8 eslintrc and v9 flat config workflows.

Does this ESLint plugin generator support adding custom processors to the config?

Yes, the ESLint plugin generator supports adding optional processors to the plugin scaffold. It generates or updates the plugin to export these processors alongside rules and configs while maintaining compatibility with both ESLint v8 and v9 environments.

Why do my ESLint plugin config keys need a namespace prefix in flat config?

ESLint plugin config keys require a namespace prefix in flat config to enforce a single plugin shape and prevent naming collisions. The meta.namespace property ensures all exported rule configurations are correctly scoped and recognized by the ESLint v9 engine.

Can I update an existing ESLint plugin to support v9 flat config without breaking v8?

Yes, you can update an existing ESLint plugin to support v9 flat config without breaking v8 compatibility. The generator updates the plugin to export both legacy and flat configs, reducing cross-version maintenance effort while providing migration guidance.