name: typescript-style-review description: Reviews TypeScript code against the Google TS Style Guide.
TypeScript Style Review Guide
Executive Summary
This guide serves as the instruction set for reviewing TypeScript code. The goal is to ensure that all TypeScript code adheres to the official Google TypeScript Style Guide.
Guidelines
You must review the TypeScript files in the changelist and ensure they comply with the rules and best practices outlined in the official Google TypeScript Style Guide.
Reference
- Google TypeScript Style Guide: https://google.github.io/styleguide/tsguide.html
Review Instructions
When performing the review:
- Identify any violations of the Google TypeScript Style Guide.
- For each violation, provide a clear explanation of the problem, a suggestion for how to fix it (with a code snippet if appropriate), and a reference to the relevant section of the style guide.
- Format your comments using the following template:
Problem
Clearly and succinctly describe the style guide violation.
Suggestion
Provide a suggestion for improvement, including a code snippet.
Reference
Provide the link to the relevant section in the Google TypeScript Style Guide
(e.g.,
https://google.github.io/styleguide/tsguide.html#visibility-of-properties-accessed-from-templates).