Back to all reviewers

Consistent semicolon usage

axios/axios
Based on 2 comments
TypeScript

Always terminate statements with explicit semicolons to maintain consistency with the existing codebase style. Avoid relying on JavaScript's automatic semicolon insertion (ASI) feature, as this can lead to inconsistent code appearance and potential subtle bugs.

Code Style TypeScript

Reviewer Prompt

Always terminate statements with explicit semicolons to maintain consistency with the existing codebase style. Avoid relying on JavaScript’s automatic semicolon insertion (ASI) feature, as this can lead to inconsistent code appearance and potential subtle bugs. Project convention shows that 99% of statements already use explicit semicolons.

Example (incorrect):

const headers = new AxiosHeaders({foo: "bar"})

Example (correct):

const headers = new AxiosHeaders({foo: "bar"});
2
Comments Analyzed
TypeScript
Primary Language
Code Style
Category

Source Discussions