Topics
- React
- linting
- formatting
- prettier
- eslint
- ci
- yarn
What it does
Runs Prettier and lint checks on a React codebase to fix formatting issues and catch lint errors before committing. Targets the facebook/react repository workflow specifically, using yarn prettier for formatting and yarn linc for linting.
Generated from the current SKILL.md.
Frequently asked
What linter does this skill use?
The skill uses the React repo's lint tooling via `yarn linc`. It does not specify the underlying linter (ESLint, etc.) in the SKILL.md.
Does this work with the entire codebase or just changed files?
The `yarn prettier` command formats only changed files, not the entire codebase.
What should I do if linc reports errors?
Fix the reported lint errors before committing, as they will cause CI to fail.
Generated from the current SKILL.md. These answers refresh after source changes.