Skip to content
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

Add .mts and .cts to TypeScript file extensions #2236

Merged
merged 1 commit into from
Sep 4, 2022

Conversation

kidonng
Copy link
Contributor

@kidonng kidonng commented Jul 4, 2022

Copy link
Collaborator

@Enselic Enselic left a comment

Choose a reason for hiding this comment

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

Thank you for the contribution! Do you think we can upstream this change?

The file you changed is converted from a .tmLanguage, which makes maintenance a bit of a headache. I think we need to at least add some basic regression tests if we are to patch this file ourselves. Not sure what other maintainers think.

See https://github.com/sharkdp/bat/blob/master/doc/assets.md for some general pointers on adding tests.

@sharkdp
Copy link
Owner

sharkdp commented Sep 2, 2022

@kidonng Any update on this?

@sharkdp sharkdp added the waiting-on-author Progress on this PR is blocked mostly because we are waiting on the author of the PR to do something label Sep 2, 2022
@sharkdp
Copy link
Owner

sharkdp commented Sep 4, 2022

The upstream repository seems to be unmaintained (microsoft/TypeScript-Sublime-Plugin#786). So let's just patch this file and put a simple regression test in place. Updated this PR accordingly.

@sharkdp sharkdp requested a review from Enselic September 4, 2022 20:08
@sharkdp sharkdp merged commit ca9843f into sharkdp:master Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-on-author Progress on this PR is blocked mostly because we are waiting on the author of the PR to do something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants