-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Labels
featureNew functionality or improvementNew functionality or improvement
Milestone
Description
Support plan
- is this issue currently blocking your project? (yes/no): no
- is this issue affecting a production system? (yes/no): yes
Context
- node version: ~18
- module version: latest
- environment (e.g. node, browser, native): node
- used with (e.g. hapi application, another framework, standalone, ...): all over the place
- any other relevant information:
What problem are you trying to solve?
Running lab with --lint does not lint *.ts files.
Do you have a new or modified API suggestion to solve the problem?
When running lab with --typescript, .ts should be added to the default extensions: https://github.com/hapijs/lab/blob/master/lib/linter/index.js#L35
Alt: always add .ts - same as .cjs / .mjs.
Happy to PR!
Metadata
Metadata
Assignees
Labels
featureNew functionality or improvementNew functionality or improvement