Skip to content

Commit

Permalink
fix: only include ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jun 28, 2024
1 parent 55a4986 commit 75dcfac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type OptionsResolved = Overwrite<

export function resolveOptions(options: Options): OptionsResolved {
return {
include: options.include || [/\.[cm]?[jt]sx?$/],
include: options.include || [/\.[cm]?ts$/],
exclude: options.exclude || [/node_modules/],
enforce: 'enforce' in options ? options.enforce : 'pre',
}
Expand Down

0 comments on commit 75dcfac

Please sign in to comment.