eslint-enterprise-monorepo

Configure scalable ESLint rules for pnpm/Turborepo monorepos with typed linting and CI boundaries enforcement.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/pohlai88/afenda-vite-react --skill eslint-enterprise-monorepo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eslint-enterprise-monorepo
Source: https://github.com/pohlai88/afenda-vite-react/tree/main/.agents/skills/eslint-enterprise-monorepo
Command: npx skills add https://github.com/pohlai88/afenda-vite-react --skill eslint-enterprise-monorepo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Establishes a scalable, policy-driven ESLint setup for large pnpm/Turborepo monorepos, delivering consistent rules, architecture boundaries, and reliable CI quality gates across all apps and packages.

Core Features & Use Cases

  • Central root flat-config baseline to govern lint rules across the entire workspace
  • Boundaries enforcement via eslint-plugin-boundaries to prevent cross-package violations
  • Typed linting strategy using TypeScript project references for accurate, scalable checks

Quick Start

Install the root flat ESLint config, enable typed linting for relevant packages, and integrate it into CI to enforce boundaries.

Frequently Asked Questions about eslint-enterprise-monorepo

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

FAQPage Schema
How do I configure ESLint for a pnpm and Turborepo monorepo?

You can enforce architecture boundaries in an ESLint monorepo using eslint-plugin-boundaries, which prevents cross-package violations and maintains strict separation between apps and packages.

How does typed linting work with TypeScript project references in a monorepo?

Typed linting in a monorepo uses TypeScript project references to perform accurate, scalable checks across packages, ensuring type safety is validated alongside standard ESLint rules.

Can I use a root flat-config approach to scale ESLint rules across multiple packages?

Yes, using a root flat-config approach establishes a policy-driven baseline that scales ESLint rules consistently across multiple apps and packages within a pnpm or Turborepo workspace.

What is the best way to set up CI quality gates for linting in an enterprise monorepo?

The best way to set up CI quality gates for linting in an enterprise monorepo is to integrate deterministic lint scripts and boundary enforcement checks directly into your CI pipeline.

Why do I need deterministic lint scripts for my monorepo CI gates?

Deterministic lint scripts are needed for monorepo CI gates to deliver reliable quality checks, ensuring consistent rule enforcement and preventing unpredictable build failures across the workspace.