Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
sharkdp merged 1 commit into
sharkdp:mastersharkdp/bat:masterfrom
kidonng:patch-1kidonng/bat:patch-1Copy head branch name to clipboard
Sep 4, 2022
Merged

Add .mts and .cts to TypeScript file extensions#2236
sharkdp merged 1 commit into
sharkdp:mastersharkdp/bat:masterfrom
kidonng:patch-1kidonng/bat:patch-1Copy head branch name to clipboard

Conversation

@kidonng

@kidonng kidonng commented Jul 4, 2022

Copy link
Copy Markdown
Contributor

@Enselic Enselic left a comment

Copy link
Copy Markdown
Collaborator

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

sharkdp commented Sep 2, 2022

Copy link
Copy Markdown
Owner

@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

sharkdp commented Sep 4, 2022

Copy link
Copy Markdown
Owner

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.