tool-eslint-config

Automate ESLint flat config setup for TypeScript and React projects.

1|Updated Sep 12, 2025
One-click install
npx skills add https://github.com/JimmyTranDev/dotfiles --skill tool-eslint-config
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tool-eslint-config
Source: https://github.com/JimmyTranDev/dotfiles/tree/main/src/opencode/skills/tool-eslint-config
Command: npx skills add https://github.com/JimmyTranDev/dotfiles --skill tool-eslint-config

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a ready-made, TypeScript-friendly ESLint flat config for React projects, reducing setup time and ensuring consistent coding standards across teams.

Core Features & Use Cases

  • Flat config setup using eslint.config.mjs and defineConfig with globalIgnores to keep project structure clean.
  • Typed linting enabled via typescript-eslint for deeper type-aware checks.
  • Built-in plugin presets (React, Next, import sorting, accessibility, etc.) and guidance on selecting correctness and stylistic tiers.
  • Use case: quickly bootstrap linting in new TS/React projects or enforce unified standards across multiple packages.

Quick Start

Install the dependencies shown and run eslint with the provided eslint.config.mjs template.

Frequently Asked Questions about tool-eslint-config

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

FAQPage Schema
How do I set up ESLint flat config for a TypeScript and React project?

To set up ESLint flat config for TypeScript and React, use an eslint.config.mjs file with defineConfig and globalIgnores. This approach applies type-aware linting via typescript-eslint and built-in plugin presets to ensure consistent coding standards.

What is type-aware linting in typescript-eslint and when do I need it?

Type-aware linting in typescript-eslint enables deeper static analysis by utilizing your project's type information. You need it for large codebases or multi-package repositories requiring robust type checking and consistent linting rules across complex TypeScript structures.

How do I configure React and Next.js ESLint plugin presets using a flat config?

You can configure React and Next.js ESLint plugin presets by defining them within your flat config export. This setup provides built-in rules for import sorting, accessibility, and framework-specific correctness checks for your TypeScript project.

Can I use this ESLint configuration across multiple packages in a monorepo?

Yes, you can use this ESLint configuration across multiple packages in a monorepo. The flat config setup with projectService supports type-aware checks and unified standards, making it suitable for large codebases requiring consistent linting rules.

What's the best way to bootstrap linting in a new TypeScript React project?

The best way to bootstrap linting in a new TypeScript React project is to use a ready-made flat config template. Installing the required dependencies and running eslint with an eslint.config.mjs file quickly enforces unified coding standards.

Why does my ESLint flat config need projectService for typed linting?

Your ESLint flat config needs projectService for typed linting to allow typescript-eslint to access your TypeScript program's type information. This mechanism enables deeper type-aware checks and correct application of correctness and stylistic tiers.