Fix
This skill automates code formatting and linting to maintain code quality and consistency. It uses Prettier to fix formatting issues and Linc to identify lin.
Install
npx promptshop add fixDetails
What This Skill Does
This skill automates code formatting and linting to maintain code quality and consistency. It uses Prettier to fix formatting issues and Linc to identify linting errors, ensuring that the codebase adheres to established coding standards.
When to Use
- Preparing code for review.
- Enforcing code style guidelines.
- Automating code formatting.
- Identifying linting errors.
- Maintaining code quality.
- Integrating with CI/CD pipelines.
Key Features
- Formats code with Prettier.
- Checks for linting errors with Linc.
- Identifies manual fixes needed.
- Enforces code style consistency.
- Automates code cleanup.
- Integrates with build processes.
Manual Installation
Fix Lint and Formatting
Instructions
Run yarn prettier to fix formatting Run yarn linc to check for remaining lint issues Report any remaining manual fixes needed
Common Mistakes
Running prettier on wrong files - yarn prettier only formats changed files Ignoring linc errors - These will fail CI, fix them before committingFix Lint and Formatting
Instructions
Run yarn prettier to fix formatting Run yarn linc to check for remaining lint issues Report any remaining manual fixes needed
Common Mistakes
Running prettier on wrong files - yarn prettier only formats changed files Ignoring linc errors - These will fail CI, fix them before committing