archived-codacy / node-codacy-coverage

Code Coverage reporter for Codacy
MIT License
63 stars 45 forks source link

Allow to specify a language other than javascript #35

Closed pedrorijo91 closed 7 years ago

pedrorijo91 commented 7 years ago

Some users have tried to use this lib to send coverage for typescript projects. while the report is successfully send, it is hardcoded to be a Javascript coverage report (as may be seen at https://github.com/codacy/node-codacy-coverage/blob/9e3b57d4e393df9b24b64a7c947b6674019b3aa5/lib/reporter.js#L29)

Allowing to specify a language different from javascript (javascript as default probaby?), as Typescript or Coffescript, should be enough to fix the problem