Skip to content

Conversation

KingDarBoja
Copy link
Collaborator

@KingDarBoja KingDarBoja commented Jul 23, 2020

PR Checklist

Overview

This fixes the comment conversion for the case // tslint:disable-next-line -> // eslint-disable-next-line and also correct the tests for the case /* tslint:enable */ -> /* eslint-enable */.

By the way, wasn't able to reproduce the linked issue, for some reason it works on the test and my sample repo 🤔

Also fixes the conversion of // tslint:disable and // tslint:enable cases into /* eslint-disable */ and /* eslint-enable */.

@KingDarBoja KingDarBoja added type: cleanup Code smells, incorrect tests, build systems, or other internal shenanigans area: comment conversions Related to changing inline comments in files. labels Jul 23, 2020
@KingDarBoja KingDarBoja self-assigned this Jul 23, 2020
@KingDarBoja KingDarBoja added this to the Version 1.1 milestone Jul 24, 2020
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Code changes seem reasonable to me, thanks for pushing forward on this!

@JoshuaKGoldberg
Copy link
Member

@KingDarBoja whenever you feel ready to merge this, that'd be great!

@KingDarBoja KingDarBoja merged commit 8ffc537 into typescript-eslint:master Jul 25, 2020
@KingDarBoja KingDarBoja deleted the comment-tests-fix branch July 25, 2020 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: comment conversions Related to changing inline comments in files. type: cleanup Code smells, incorrect tests, build systems, or other internal shenanigans

Projects

None yet

Development

Successfully merging this pull request may close these issues.

eslint-disable directives require C-style comments

2 participants