What problem does it solve?
Provides a repeatable, configurable ESLint setup to prevent style and correctness regressions, reduce code-review friction, and enforce consistent patterns across JavaScript and TypeScript React projects.
Core Features & Use Cases
- Flat and legacy configs: Guidance for ESLint v9+ flat config and a compatible legacy .eslintrc.cjs fallback.
- Type-aware rules: Integrates TypeScript parser and rules to enable type-checked linting.
- React support: Includes React, react-hooks, and react-refresh rules and sensible defaults for JSX runtime.
- Tooling & CI: npm scripts, Prettier integration, VS Code settings, pre-commit hooks, and GitHub Actions example for enforcing lint and type checks.
- Use Case: Standardize linting in a Vite + React + TypeScript frontend so developers get consistent auto-fixes locally and zero-warnings enforcement in CI.
Quick Start
Run the ESLint Setup skill to produce a recommended configuration, install the necessary dev dependencies, and add lint and type-check scripts for your Vite React TypeScript project.