eslint-monorepo-performance

Tune ESLint cache, concurrency, and typed linting in JavaScript/TypeScript monorepos.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Large monorepos suffer from slow and resource-heavy ESLint runs, impeding development speed and CI feedback. This Skill optimizes lint performance by tuning cache strategy, concurrency, and the scope of typed linting across multiple packages.

Core Features & Use Cases

  • Performance tuning for cache strategies, concurrency, and typed linting across a multi-package workspace.
  • Use cases include large TypeScript monorepos where lint duration becomes a bottleneck in CI and local development, with a need to profile and optimize expensive rules.
  • Practical workflow improvements: faster feedback cycles in local development and shorter CI lint jobs while maintaining lint quality.

Quick Start

Enable ESLint caching, choose a suitable concurrency level, and narrow typed linting to necessary TS files to gain immediate speed improvements.

Frequently Asked Questions about eslint-monorepo-performance

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

FAQPage Schema
How do I optimize ESLint performance in a large TypeScript monorepo?

To optimize ESLint performance in a large TypeScript monorepo, enable caching, adjust concurrency levels, and scope type-aware rules to necessary files. This reduces lint duration bottlenecks and accelerates CI feedback cycles.

Why does ESLint run so slowly in my multi-package workspace?

ESLint runs slowly in multi-package workloads due to resource-heavy type-aware linting across many packages. Profiling expensive rules, narrowing typed linting scope, and applying content-based cache strategies resolve these performance regressions.

What is the best cache strategy for monorepo linting?

The best cache strategy for monorepo linting involves choosing between content-based or mtime-based caching. Enabling ESLint caching with a suitable concurrency level provides immediate speed improvements for local development and CI jobs.

Do I need explicit tsconfig references for typescript-eslint performance tuning?

Yes, explicit tsconfig references are required for typescript-eslint performance tuning. Scoping type-aware rules and ensuring accurate TypeScript configurations prevent expensive rule regressions across multiple packages.

When should I narrow the scope of typed linting in my monorepo?

You should narrow the scope of typed linting when lint duration becomes a development bottleneck. Profiling expensive rules allows you to limit type-aware checks to necessary TS files, maintaining lint quality while improving speed.