ESLint Configuration

Document the 3-tier ESLint configuration hierarchy and custom rules for the AFENDA-NEXUS monorepo.

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/pohlai88/AFENDA-NEXUS2 --skill eslint-configuration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ESLint Configuration
Source: https://github.com/pohlai88/AFENDA-NEXUS2/tree/main/.agents/skills/eslint-config
Command: npx skills add https://github.com/pohlai88/AFENDA-NEXUS2 --skill eslint-configuration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide to the ESLint configuration within the AFENDA-NEXUS monorepo, ensuring code quality and consistency across all packages.

Core Features & Use Cases

  • Architecture Documentation: Explains the 3-tier configuration hierarchy and preset selection.
  • Rule Governance: Details mandatory rules, custom rules, and exception code usage.
  • Use Case: A new developer joining the AFENDA-NEXUS project can use this Skill to quickly understand how ESLint is configured, what rules are enforced, and how to correctly add new configurations or overrides for their specific package.

Quick Start

Consult the ESLint configuration documentation for the AFENDA-NEXUS monorepo.

Frequently Asked Questions about ESLint Configuration

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

FAQPage Schema
How do I configure ESLint rules in a monorepo?

To configure ESLint rules in a monorepo, use a 3-tier configuration hierarchy to manage preset selection and enforce custom rules like no-direct-db-access across all packages. This architecture ensures consistent static analysis and code quality governance.

What is the ESLint 3-tier configuration hierarchy?

The ESLint 3-tier configuration hierarchy is an architectural framework for monorepos that manages preset selection and rule governance. It provides an authoritative reference for creating, modifying, or debugging ESLint configurations across multiple packages.

How do I use exception codes for custom ESLint rules?

To use exception codes for custom ESLint rules, consult the rule governance documentation which details how mandatory rules and custom rules like no-direct-db-access are applied. Exception codes allow specific bypasses while maintaining overall static analysis integrity.

Can I enforce code quality and consistency using ESLint in a TypeScript monorepo?

Yes, you can enforce code quality and consistency using ESLint in a TypeScript monorepo by applying mandatory rules, custom rules, and CI gates. This configuration provides static analysis to maintain code standards across all JavaScript and TypeScript packages.

Why does my ESLint configuration not work with the monorepo CI gates?

Your ESLint configuration may not work with monorepo CI gates if it does not follow the 3-tier hierarchy or mandatory rule governance. Debugging requires checking preset selection, custom rules, and exception code usage against the authoritative documentation.