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

Always lint .ts #1069

Merged
merged 1 commit into from
Jan 15, 2024
Merged

Always lint .ts #1069

merged 1 commit into from
Jan 15, 2024

Conversation

dominykas
Copy link
Contributor

@dominykas dominykas commented Nov 14, 2023

Closes #1065

I took the simpler approach here - an alternative would be to only add .ts when --typescript is set, but I figure there's probably no harm in always doing this?

Had to hide this behind the --typescript flag, because otherwise it reports issues with *.ts files available in lab itself - and resolving those needs a new eslint config with typescript parser.

Closes hapijs#1065

I took the simpler approach here - an alternative would be to only add `.ts` when `--typescript` is set, but I figure there's probably no harm in always doing this?
Copy link
Member

@Nargonath Nargonath left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the PR

@Marsup Marsup added this to the 25.2.0 milestone Jan 15, 2024
@Marsup Marsup self-assigned this Jan 15, 2024
@Marsup Marsup added the feature New functionality or improvement label Jan 15, 2024
@Marsup Marsup merged commit 8ed0636 into hapijs:master Jan 15, 2024
9 checks passed
@dominykas dominykas deleted the patch-1 branch January 16, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add .ts to the default extensions for --lint
3 participants