Skip to content

Adjusted comment-format's check-space output for markers #386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 26, 2020

Conversation

JoshuaKGoldberg
Copy link
Member

PR Checklist

Overview

Continues #318, but I think corrects the behavior of the rule. TSLint doesn't enforce spacing behavior unless check-space is provided, so I think this converter actually should only output a spaced-comment configuration when TSLint's check-space argument is provided, right? Thoughts @beenotung @KingDarBoja?

https://palantir.github.io/tslint/rules/comment-format
https://eslint.org/docs/rules/spaced-comment

@JoshuaKGoldberg JoshuaKGoldberg added the status: waiting for reviewer Waiting for a maintainer to review label Apr 14, 2020
Copy link
Collaborator

@KingDarBoja KingDarBoja left a comment

Choose a reason for hiding this comment

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

Makes sense to me as this only enforces space on comments

@JoshuaKGoldberg JoshuaKGoldberg merged commit bb06c71 into master Apr 26, 2020
@JoshuaKGoldberg JoshuaKGoldberg deleted the comment-format-markers branch April 26, 2020 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for reviewer Waiting for a maintainer to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conflict on reference types
2 participants