typescript-review
Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
TypeScript/JavaScript Code Review Skill
Linting and Formatting
-
Lint:
yarn lint-eslint-pure- Run ESLint on the codebase
-
Format:
yarn prettier- Format code using Prettier
-
Type Check:
yarn type-check-pure- Run TypeScript type checking
Testing
JavaScript/TypeScript Tests
-
Test a specific file:
yarn test-unit-keep-cljs path/to/file.unit.spec.js -
Test by pattern:
yarn test-unit-keep-cljs -t "pattern"- Runs tests matching the given pattern
ClojureScript Tests
-
Test ClojureScript:
yarn test-cljs- Run ClojureScript tests
Code Review Guidelines
Review pull requests with a focus on:
- Compliance with project coding standards and conventions
- Code quality and best practices
- Clear and correct JSDoc comments
- Type safety and proper TypeScript usage
- React best practices (when applicable)
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-28
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!