-
Notifications
You must be signed in to change notification settings - Fork 26.8k
Open
Description
Description
(Readme.md)
I noticed an inconsistency in semicolon usage across different sections of the style guide.
- In the Arrays section (4.1–4.8), many examples omit semicolons at the end of statements.
- In the Functions section (7.1–7.7), the examples consistently use semicolons.
Since the Airbnb style guide explicitly recommends always using semicolons (see Section 21: Semicolons), this inconsistency might confuse developers who are following the guide.
Proposed Fix
Ensure that all code examples across the style guide consistently include semicolons at the end of statements.
For example:
// Current (Arrays section):
const items = []
// Suggested fix:
const items = [];
I’d be happy to work on fixing this if maintainers agree. Could you please assign this issue to me?
Metadata
Metadata
Assignees
Labels
No labels