Is there a lint rule for forbidding the usage of .js files? (prefer .ts)

Viewed 19

So I have a project which was built with "*.js" files.
We started using typescript and I want to force new files to have the ".ts" suffix
Is there a lint for forcing it? Is it even possible to write such lint code?
I tried to use 'eslint-plugin-filenames' but it doesn't check file's extension

Any help will be appreciated, thanks in advance

1 Answers
Related