Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue(s) Resolved
N/A
High-level Explanation of PR
I like to omit trailing semicolons in JS projects because I feel they increase the visual noise of code. I also find code without trailing semicolons more aesthetically pleasing.
Perhaps more convincingly, there appears to be an increasing trend to omit trailing semicolons in open source projects. I took a sample of JS/TS projects from my GitHub feed to get a (very) rough estimate of the number of projects that use trailing semicolons vs. those that do not. I navigated to the six most recently updated projects in my feed and opened a random TS or JS source file:
Each of the six projects I visited eschewed use of trailing semicolons.
I feel we should adopt this standard to catch up to the current code style conventions of JS projects. And selfishly for the subjective reasons I listed above.
Test Plan
N/A