Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

semicolon: split walker implementation, make "never" spec compliant #2655

Merged
merged 4 commits into from May 24, 2017
Merged

semicolon: split walker implementation, make "never" spec compliant #2655

merged 4 commits into from May 24, 2017

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented May 1, 2017

PR checklist

  • Addresses an existing issue: #0000
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update

Overview of change:

Separate the implementations of "never" and "always", because "never" became a little more complex.
[enhancement] semicolon: option "never" is now spec compliant
[bugfix] semicolon: don't warn about unnecesary semicolon when it is actually needed, e.g. when followed by type assertion or template string
Ref: microsoft/TypeScript#15444

Is there anything you'd like reviewers to focus on?

CHANGELOG.md entry:

@ajafff ajafff changed the title semicolon: fix option "never" for type assertion and template string semicolon: split walker implementation, make "never" spec compliant May 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants