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

ts extension identified as typoscript #911

Closed
Shemnei opened this issue Jan 19, 2024 · 0 comments · Fixed by #912
Closed

ts extension identified as typoscript #911

Shemnei opened this issue Jan 19, 2024 · 0 comments · Fixed by #912

Comments

@Shemnei
Copy link

Shemnei commented Jan 19, 2024

Version: typos-cli 1.17.1

Typos identifies files with the extension of .ts as language typoscript. While this might be correct, i would assume that typescript is the more widely used language using this extension and thus should be the default.

Reproduce:

touch main.ts
typos --files --isolated -vvvv 

Partial output:

[DEBUG globset] built glob set; 55 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 339 required extensions, 37 regexes
[DEBUG typos_cli::policy] /tmp/main.ts: `typoscript` policy
[DEBUG typos_cli::policy] /tmp/main.ts: default policy for `typoscript` file type
epage added a commit to epage/typos that referenced this issue Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant