ThaNarie / tslint-teamcity-reporter

A TSLint formatter/reporter for use in TeamCity
MIT License
4 stars 6 forks source link

CLI command does not work #2

Closed jcviau closed 7 years ago

jcviau commented 8 years ago

1) The documentation is invalid, the CLI line should be:

tslint --formatters-dir node_modules/tslint-teamcity-reporter/ --format TSHintTeamcity file.ts

2) Also, for this line to work it require to rename teamcity.js to TSHintTeamcityFormatter.js (same name as in the code)

Found this by looking at the tslint documentation: "Formatter files are always named with the suffix Formatter and the exported class within the file must be named Formatter. A formatter is referenced from TSLint without its suffix."

mediamonks-arjan commented 8 years ago

Thanks, I will take a look