Skip to content

ESLint Enforce semicolons#169

Merged
mikeselander merged 4 commits into
masterfrom
153-enforce-semicolons
Jan 6, 2020
Merged

ESLint Enforce semicolons#169
mikeselander merged 4 commits into
masterfrom
153-enforce-semicolons

Conversation

@mattheu

@mattheu mattheu commented Jan 2, 2020

Copy link
Copy Markdown
Member

Enforce semicolons.

Closes #153

@mikeselander mikeselander left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍 thank you for pushing this through.

@mikeselander

Copy link
Copy Markdown
Contributor

As a note, we should update the Handbook in tandem with this change.

// Missing semicolon.
const testMissingSemicolon = 'foo'

// Missing semicolon.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The semicolon isn't missing here, just spaced incorrectly.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh thanks Sam - I'll update the comment

@mikeselander mikeselander merged commit cc23bd6 into master Jan 6, 2020
@mikeselander mikeselander deleted the 153-enforce-semicolons branch January 6, 2020 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JS: Enforce trailing semicolons?

5 participants