ts extension identified as typoscript
Shemnei opened this issue · comments
Jonas Grawe commented
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