react-eslint

Lint and format React projects with ESLint and Prettier.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/Tuienn/e-notarization --skill react-eslint
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-eslint
Source: https://github.com/Tuienn/e-notarization/tree/main/web-frontend/.cursor/skills/react-eslint
Command: npx skills add https://github.com/Tuienn/e-notarization --skill react-eslint

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly fix lint errors and formatting issues in React projects to ensure code passes CI checks. It addresses inconsistencies, coding style issues, and pre-commit failures caused by ESLint and formatting problems.

Core Features & Use Cases

  • Lint and format on demand: Run lint to detect issues and run format to fix formatting.
  • Pre-commit readiness: ensures code is CI-ready before commits.
  • Git workflow integration: streamlines code reviews and automated quality checks in PRs.

Quick Start

Run npm run format to fix formatting, then npm run lint to check for remaining lint issues, and report any remaining manual fixes needed.

Frequently Asked Questions about react-eslint

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

FAQPage Schema
How do I fix ESLint errors and formatting issues in a React project?

To fix ESLint errors and formatting issues in a React project, run the project's npm format script to auto-fix styling, then run the lint script to identify any remaining code quality issues that require manual fixes.

What is the best way to ensure React code is ready for CI checks?

The best way to ensure React code is ready for CI checks is to automate linting and formatting via project-specific npm scripts, enforcing coding standards and clearing style inconsistencies before committing code.

Do I need npm installed to lint and format React code?

Yes, you need npm installed because this React linting and formatting process relies on executing project-specific npm scripts and configurations to run ESLint and Prettier successfully.

Why does my React code fail pre-commit hooks due to formatting inconsistencies?

React code fails pre-commit hooks due to formatting inconsistencies when unresolved style issues and lint errors remain, which this approach addresses by automating Prettier formatting and ESLint checks.

Can I use this to automate code quality checks for pull requests?

Yes, you can use this to automate code quality checks for pull requests by integrating the lint and format npm scripts into your Git workflow, streamlining code reviews and ensuring CI readiness.