fix
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseFix Lint and Formatting
修复Lint错误与代码格式
Instructions
操作步骤
- Run to fix formatting
yarn prettier - Run to check for remaining lint issues
yarn linc - Report any remaining manual fixes needed
- 运行来修复代码格式
yarn prettier - 运行检查剩余的lint问题
yarn linc - 记录所有仍需手动修复的问题
Common Mistakes
常见误区
- Running prettier on wrong files - only formats changed files
yarn prettier - Ignoring linc errors - These will fail CI, fix them before committing
- 对错误文件运行prettier - 仅格式化已修改的文件
yarn prettier - 忽略linc错误 - 这些错误会导致CI失败,请在提交前修复