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

Handle eof in line switches #1902

Merged
merged 1 commit into from
Dec 19, 2016
Merged

Handle eof in line switches #1902

merged 1 commit into from
Dec 19, 2016

Conversation

ajafff
Copy link
Contributor

@ajafff ajafff commented Dec 18, 2016

PR checklist

What changes did you make?

To get the end of the next-line switch, tslint searches for the start of the line after the next line. If there is no such line, tslint crashed.
This change checks, if the line in question exists. You can now use the next-line switch without even having a next line (which doesn't make sense at first glance, but is useful when linting live during development)

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

(optional)

@nchen63
Copy link
Contributor

nchen63 commented Dec 18, 2016

can you turn on CircleCI?

@nchen63 nchen63 merged commit 5c9d7c1 into palantir:master Dec 19, 2016
@nchen63
Copy link
Contributor

nchen63 commented Dec 19, 2016

@ajafff thanks!

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.

2 participants